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

3 vues (au cours des 30 derniers jours)
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 commentaire
Sebastian Castro
Sebastian Castro le 18 Déc 2015
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Configure and View Diagnostics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by