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!

 Risposta accettata

Walter Roberson
Walter Roberson il 15 Gen 2013

2 voti

uigetdir()

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by