MATLAB Programming/GUI/Get File or Directory
uigetfile
editThe 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');