How to select a folder?

54 views (last 30 days)
Shaila parvin
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

Accepted Answer

Image Analyst
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.

More Answers (0)


Find more on Dialog Boxes in Help Center and File Exchange


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!

Translated by