How to select a folder?
10 views (last 30 days)
Show older comments
Shaila parvin
on 15 Jun 2014
Answered: Image Analyst
on 15 Jun 2014
Dear matlab experts,
I’m facing a problem. I want to select a folder. I used uigetfile() function but it takes me to the contents/images of the folder. I don’t want this. I want to stop by selecting a folder. How can I do that? Please let me know.
Thanks and Regards Shaila
0 Comments
Accepted Answer
Image Analyst
on 15 Jun 2014
Use uigetdir(). But when you use that, you can't see any of the files in the folder, which would help you to know if you were in the right folder.
You might also take a look at uipickfiles: http://blogs.mathworks.com/pick/2010/02/19/file-and-folder-selection-gui/
0 Comments
More Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT-Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!