Can fast restart be set programmatically?
显示 更早的评论
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?
采纳的回答
更多回答(1 个)
Rostislav Teryaev
2018-4-24
set_param(modelName, 'FastRestart', 'on')
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!