Is it possible to see the list of files in a folder while using UIGETDIR on a Windows machine?
1 view (last 30 days)
Show older comments
I would like to see the UIGETDIR for Windows behave more like the version for the Mac. That is, I would like to have an option where it can list files in the folder before I select a folder using UIGETDIR. Sometimes you do not know if you are in the correct folder unless you can see the filenames in it.
Accepted Answer
MathWorks Support Team
on 29 Dec 2009
The ability to see the list of files in a folder while using UIGETDIR on Windows machines does not exist in MATLAB 7.9 (R2009b).
As a workaround, use UIGETFILE to select a file in the directory of interest, and use the second output argument to retrieve the path to the directory:
[file, path] = uigetfile
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!