Multiple Simulations with only one model compile
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello,
I have to do often multiple simulations (about 160) which take long time. I do this automatically with a script. In First matlab makes a model compile to initialize the model. This takes a long time because the model is really big. It would be good when there is only one model compile at the beginning of all simulations. Is it technically possible to do all simulations with only one model compile at the beginning?
regards Jens
Answers (3)
A Jenkins
on 3 Dec 2014
0 votes
Sherman
on 11 Dec 2014
0 votes
Take a look at these two links: 1) Saving the simulation state: http://www.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-state-as-the-simstate.html 2) Fast restart: http://www.mathworks.com/help/simulink/ug/fast-restart-workflow.html
You'll need a newer version of Simulink (14b)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!