Select a folder to save output files

21 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by