How to get the path of a folder?

30 views (last 30 days)
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
Lisa Wu
Lisa Wu on 15 Jan 2013
It is just what i need! Thank you very much!

Sign in to comment.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!