How to make MATLAB always start with the previous directory when using the menu?

조회 수: 4 (최근 30일)
Is there a way to make MATLAB always open the last used directory?
For instance, when saving a figure, importing data through the menu, etc. etc. it always revert back to some default folder (for instance, "This PC --> Documents --> MATLAB"
How can I make MATLAB always open the last folder I navigated to? I've looked through the preferences tab, but cannot find any settings that seem to do this.
I'm not interested to make this happen in any scripts etc. to be clear, just when using the menues in the graphical interface of MATLAB.
Kind regards,

채택된 답변

Bora Eryilmaz
Bora Eryilmaz 2023년 5월 2일
편집: Bora Eryilmaz 님. 2023년 5월 2일
Yes, as long as you start MATLAB from a shortcut icon on your desktop, you can set the "Initial Working Folder" setting in the Preferences dialog to make MATLAB remember its last folder. See here for more details on setting this up:
  댓글 수: 3
Carl Flygare
Carl Flygare 2023년 5월 9일
Ok, thanks for giving me an answer :)
I'll make this as a wish for the future!

댓글을 달려면 로그인하십시오.

추가 답변 (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