Simulink continue simulation from last timestep

13 ビュー (過去 30 日間)
Richard Nai
Richard Nai 2021 年 9 月 22 日
回答済み: Paul 2021 年 9 月 22 日
I have some a Simulink project with multiple MATLAB function blocks, resulting in quite slow simulation. (I know function blocks slow down simulation, but for now I can't think of a way around it). It takes about a minute to simulate 10 seconds.
I'm wondering if there is a way to continue simulating at the last state. For example, say I simulate 10 seconds, but the phenomenon I want to observe is not complete, and want to simulate for an additional 10 seconds. I change the 'Stop Time' to 20, but then the simulation restarts from time 0, and I have to wait all over again. Is there a way to get Simulink to not clear it's data, and continue from the last time?
Thanks!

採用された回答

Paul
Paul 2021 年 9 月 22 日
Unclear why Matlab Function blocks would slow anything down, at least not as a general rule.
Save and Restore operating points can be used for run-stop-continue workflow.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by