How to get the path of a folder?

I want to get the path of a folder,not a file; Well, a dialog box pops up ,ask me to choose a folder, and I hope it can returns the path of the folder,such as 'C:\Document\Files\MYfolder'
Thank you for your help!

 Accepted Answer

Walter Roberson
Walter Roberson on 15 Jan 2013
uigetdir()

1 Comment

It is just what i need! Thank you very much!

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!