Can fast restart be set programmatically?

조회 수: 3 (최근 30일)
Ksenia Kolcio
Ksenia Kolcio 2015년 8월 17일
편집: Sebastian Castro 2018년 4월 25일
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?

채택된 답변

Sebastian Castro
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

추가 답변 (1개)

Rostislav Teryaev
Rostislav Teryaev 2018년 4월 24일
set_param(modelName, 'FastRestart', 'on')

카테고리

Help CenterFile Exchange에서 Dependency Analysis에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by