Select a folder to save output files

19 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Environment and Settings 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!