Name

uigetdir — dialog for selecting a directory

Calling Sequence

directory = uigetdir()
directory = uigetdir(start_path [,title])

Parameters

start_path

a character string which gives the initial directory used for search. By default uigetdir uses current working directory.

title

the title for the uigetdir window.

directory

is the user selected directory if user answers "Ok" or the " " string if user cancels.

Description

Creates a dialog window for selecting a directory

Examples

 
uigetdir()
uigetdir("SCI/modules/")
uigetdir("SCI/modules/", "Choose a directory")
 

See Also

uigetfile , uiputfile