MATLAB Programming/GUI/Get File or Directory
Tools
General
Sister projects
In other projects
[MATLAB Programming\|/MATLAB Programming]m]
Chapter 1: MATLAB ._.
Introductions .
Chapter 2: MATLAB Concepts
Chapter 3: Variable Manipulation
Chapter 4: Vector and matrices
Chapter 5: Array
Chapter 6: Graphical Plotting
Chapter 7: M File Programming
Chapter 8: Advanced Topics
Chapter 9: Bonus chapters
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');