< MATLAB Programming < GUI
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');
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.