Is there a way to save and load projects in MATLAB?
14 views (last 30 days)
Show older comments
MathWorks Support Team
on 6 May 2011
Commented: Sanjay Manohar
on 2 Apr 2021
MATLAB does not have an IDE similar to the IDEs of some of the other languages like JAVA and C++ to create projects which include source files, data files, libraries and debugging tools, build functions etc. For example, when I open a solution file in Visual Studio or Eclipse, it loads up all the source and header files, links all the libraries and restores breakpoints.
Accepted Answer
MathWorks Support Team
on 6 May 2011
The ability to save or load a project in MATLAB in one command is not available in MATLAB.
The workaround is to write scripts which can open and close all the project files and restore the breakpoints.
You can save breakpoints and reuse them in a later session by saving the status of breakpoints to a MAT-file using
s=dbstatus
and restoring the breakpoint status at a later time by loading the MAT-file using
dbstop(s)
1 Comment
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!