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

2 次查看(过去 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