필터 지우기
필터 지우기

Is there a way to save and load projects in MATLAB?

조회 수: 8 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2011년 5월 6일
댓글: Sanjay Manohar 2021년 4월 2일
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2011년 5월 6일
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
Sanjay Manohar
Sanjay Manohar 2021년 4월 2일
Please could you direct us to an example of how to do this?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

제품


릴리스

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by