How to open Matlab with specific scripts in my editor?

14 views (last 30 days)
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...

Accepted Answer

Walter Roberson
Walter Roberson on 15 Apr 2021
Edited: Walter Roberson on 15 Apr 2021

More Answers (1)

Steven Lord
Steven Lord on 16 Apr 2021
Consider setting up different Projects for your different projects.

Categories

Find more on Project Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!