Navigation

Operators and Keywords

Function List:

C++ API

: dirname = uigetdir ()
: dirname = uigetdir (init_path)
: dirname = uigetdir (init_path, dialog_name)

Open a GUI dialog for selecting a directory.

If init_path is not given the current working directory is used.

dialog_name may be used to customize the dialog title.

See also: uigetfile, uiputfile.

Demonstration 1

The following code

 uigetdir (pwd, 'Select Directory');

gives an example of how 'uigetdir' is used.

Package: octave