Can fast restart be set programmatically?
3 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
採用された回答
Sebastian Castro
2015 年 8 月 17 日
編集済み: Sebastian Castro
2018 年 4 月 25 日
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
0 件のコメント
その他の回答 (1 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!