How to open Matlab with specific scripts in my editor?

조회 수: 6 (최근 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.

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by