uigetdir
Opens dialog box to select a directory.
📝Syntax
dir_ans = uigetdir()
dir_ans = uigetdir(path)
dir_ans = uigetdir(path, title)
📥Input Arguments
Parameter Description
path a string: initial path
title a string: title of the dialog box
📤Output Arguments
Parameter Description
dir_ans a string (returned path) or 0 if dialogbox is canceled
📄Description

uigetdir opens a dialog box for selecting a directory.

If path is wrong or not given, the current working directory will be used.

💡Examples
A = uigetdir();
🔗See Also
pwd
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub