How do I change the browsing directory, when clicking the 'Open' icon in the editor, to the current working directory?
1 回表示 (過去 30 日間)
古いコメントを表示
When I click on the 'Open' icon in the editor, the browsing window that pops up opens the directory of the currently (active), already opened file in the editor. I would like it to always open in the 'current working directory'. Is there a setting to change this?
0 件のコメント
回答 (1 件)
MA
2014 年 10 月 30 日
before open matlab do this: first copy your desired directory then right click on matlab icon, go to "properties" and paste your directory in "start in" and click "ok" Good luck
2 件のコメント
MA
2014 年 11 月 2 日
another way to do this, writing your desired directory with cd code in the command window, for exmaple my directory is C:\peace\one , you should write code as following:
cd C:\peace\one
you should notice that this directory does exist otherwise it gives you an error
参考
カテゴリ
Help Center および File Exchange で Search Path についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!