Select a folder to save output files
조회 수: 18 (최근 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165759/image.png)
I also want to show the path which user selects in the edit box. Can anyone help me?
댓글 수: 0
채택된 답변
Walter Roberson
2016년 6월 6일
selected_dir = uigetdir();
set(handles.selected_path, 'String', selected_dir) %change handle name as appropriate
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!