Is it possible to see the list of files in a folder while using UIGETDIR on a Windows machine?
1 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
MathWorks Support Team
2009-12-29
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!