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
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 个)

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

标签

尚未输入任何标签。

产品


版本

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by