411 REFERENCE · Wikibooks
MATLAB Programming/GUI/Get File or Directory
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
uigetfile
The uigetfile command is used to open a window which retrieves a specific file name.
[File,Path] = uigetfile('*.*','Select the file');
This is particular useful to give a user an alternate file from the default file.
[File,Path] = uigetfile('*.*','Select the file','c:\default_dir\default_file.ext');