How to open Matlab with specific scripts in my editor?

3 ビュー (過去 30 日間)
Mark Golberg
Mark Golberg 2021 年 4 月 15 日
回答済み: Steven Lord 2021 年 4 月 16 日
Let's assume I'm working on 2 different projects.
For project A, I'm using my_script_1.m , my_script_2.m and my_script_3.m
For project B, I'm using my_script_4.m , my_script_5.m and my_script_6.m
When I close MATLAB, it remembers the last "state" of my open scripts in the editor, right?
Can I somehow config the scripts being there in my editor when I open MATLAB?
I mean, supposably on Tuesday I want to work on project A. I'd like to open MATLAB, and see ONLY my predefined project A scripts.
If I'd like to work on project B on Wednesday, I'll open my MATLAB with "project_B_config" (hopefully there is such thing).
Can this be done somehow? THANKS !
Currently, I simply open 2 instances of MATLAB, and arrage relevant scripts per each instance. But once in a while, I need to restart my laptop, so I have to do it all over again...

採用された回答

Walter Roberson
Walter Roberson 2021 年 4 月 15 日
編集済み: Walter Roberson 2021 年 4 月 15 日

その他の回答 (1 件)

Steven Lord
Steven Lord 2021 年 4 月 16 日
Consider setting up different Projects for your different projects.

Community Treasure Hunt

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

Start Hunting!

Translated by