Select a folder to save output files

Hello All, I need help in selecting a folder to save the out put files. Attached is the part of my GUI where I want user to select the folder where the out put .jpg files will be saved.
I also want to show the path which user selects in the edit box. Can anyone help me?

 Réponse acceptée

Walter Roberson
Walter Roberson le 6 Juin 2016
selected_dir = uigetdir();
set(handles.selected_path, 'String', selected_dir) %change handle name as appropriate

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by