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

15 ビュー (過去 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 Center および File ExchangeDebugging and Analysis についてさらに検索

製品


リリース

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by