Stop Matlab from reopening sessions

Every time I open MATLAB, it opens all the tabs I had in the previous session. Since I often compare the same scripts in different projects, it's really confusing to have similar scripts next to those I just opened. I know I could close every tab before I quit MATLAB, but this would consume more time than fiddling with settings.
TLDR, can I auto-close everything when quitting or prevent reopening when starting?
Thank you :)

 採用された回答

Dyuman Joshi
Dyuman Joshi 2024 年 1 月 26 日

0 投票

Yes, follow these steps - HOME -> Preferences -> Editor/Debugger -> Opening files in editor
In that section, Untick the option - "On restart reopen files from previous MATLAB session".

2 件のコメント

Steven Lord
Steven Lord 2024 年 1 月 26 日
In addition to this preference, if you're working with collections of related files that you want to be able to manage as a group the MATLAB Projects functionality may help you organize your files. You can open all the files in a project at once using the project, if I recall correctly.
Jan
Jan 2024 年 1 月 26 日
Wow, no idea how i have missed that. Thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProjects についてさらに検索

製品

質問済み:

Jan
2024 年 1 月 26 日

コメント済み:

Jan
2024 年 1 月 26 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by