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!