How to compile the model just once and then simulate it various times without compiling again and again.

조회 수: 3 (최근 30일)
I want to compile the model just once and then simulate it various times without compiling again and again, as in case of a signal builder, Via a script. Is it possible? If yes then can you please help me with the solution.
Regards Mandeep Singh
  댓글 수: 1
Sebastian Castro
Sebastian Castro 2015년 12월 18일
Which version are you on? If you have R2015b, there is a command-line way to set up Fast Restart simulation.
set_param('modelName','FastRestart','on');
sim('modelName', ... )
...
sim('modelName', ... )
set_param('modelName','FastRestart','off');
- Sebastian

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by