I know that you can create a file browser in Matlab using uigetfile. However, I want the user to be able to select the destination folder. I am currently using the following code:
[filename, pathname] = uigetfile;
Using this, the user must select a file in the destination folder in order to actually be able to close the file browser. Is there a better way to do this? For example, allow the user to select a folder, and this closes the file browser, returning only the path to the selected folder. Your help is greatly appreciated.
source share