How to open Matlab with specific scripts in my editor?

17 vues (au cours des 30 derniers jours)
Mark Golberg
Mark Golberg le 15 Avr 2021
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...

Réponse acceptée

Walter Roberson
Walter Roberson le 15 Avr 2021
Modifié(e) : Walter Roberson le 15 Avr 2021

Plus de réponses (1)

Steven Lord
Steven Lord le 16 Avr 2021
Consider setting up different Projects for your different projects.

Catégories

En savoir plus sur Project Setup dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by