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'
The documentation for uigetfile() is remiss in not showing any examples that use fullfile() to construct the full file name of the chosen file. Here is how you do it:
Best Answer