Can fast restart be set programmatically?

3 visualizaciones (últimos 30 días)
Ksenia Kolcio
Ksenia Kolcio el 17 de Ag. de 2015
Editada: Sebastian Castro el 25 de Abr. de 2018
My model takes a long time to initialize and compile relative to simulation run time. This model is called iteratively in a script using sim(). I hoped to use the Fast Restart feature but the R2015a documentation indicates that Fast Restart can only be used interactively. I verified that my model can use Fast Restart when simulated interactively by clicking the run button. Is there really no way to avoid recompilation programmatically?

Respuesta aceptada

Sebastian Castro
Sebastian Castro el 17 de Ag. de 2015
Editada: Sebastian Castro el 25 de Abr. de 2018
Unfortunately, Fast Restart can't be used programmatically in its initial R2015a release.
In R2015b and later, you can enter:
set_param(modelName, 'FastRestart', 'on')
- Sebastian

Más respuestas (1)

Rostislav Teryaev
Rostislav Teryaev el 24 de Abr. de 2018
set_param(modelName, 'FastRestart', 'on')

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by