FUNCTION REFERENCE

uigetdir

Ask the user to pick a folder.

Ask the user to pick a folder.

Syntax

folder = uigetdir(start, title)

start is the folder shown first (the current folder by default). Returns the chosen folder without a trailing separator, or 0 on Cancel. Needs the desktop app.

Example

d = uigetdir(pwd, 'Pick the output folder');

Differences from MATLAB: Some system pickers do not show the title.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.