Can fast restart be set programmatically?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Rostislav Teryaev
am 24 Apr. 2018
set_param(modelName, 'FastRestart', 'on')
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!