Retain current directory
조회 수: 5 (최근 30일)
이전 댓글 표시
How can I set the current directory after I have initially selected it. I am performing some tasks on tiff images using a GUI. I initially set the directory by using an exdit box and use:
startpname=get(handles.editFolder,'String');
After this first selection, I then want to start in this directory for all other times.
Thanks Jason
댓글 수: 0
답변 (1개)
Arturo Moncada-Torres
2011년 8월 10일
I recommend you to check the cd function documentation. On a quick thought, I suppose it must be something like:
startpname = get(handles.editFolder, 'String');
cd(startpname);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!