How to open Matlab with specific scripts in my editor?

14 visualizzazioni (ultimi 30 giorni)
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...

Risposta accettata

Walter Roberson
Walter Roberson il 15 Apr 2021
Modificato: Walter Roberson il 15 Apr 2021

Più risposte (1)

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

Categorie

Scopri di più su Project Setup in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by