Simulink stuck between initalizing and running
10 ビュー (過去 30 日間)
古いコメントを表示
When I'm running a Simulink model the first time after Matlab startup, the simulations takes 15 seconds..
Then, each time I run the model it takes several minutes after the initialisation, either displaying "running t=0.00" or just "running". Then the times increments normally and it goes on the the simulation phase.
I have the same phenomenon on different models, one using Power System, one particularly large, one only using the control toolbox.
I have tried tweaking the settings, using fixed steps, variable steps, changing the tolerance without any improvements.
I've tried using sldiagnostics and the profiler, but the several minutes are missing, as if they were between the compiling and running phase.
A colleague running the same model on a computer with the same specs doesn't have the same issue.
Do you have any ideas where to look for?
0 件のコメント
採用された回答
BDI
2019 年 1 月 3 日
編集済み: BDI
2023 年 5 月 17 日
1 件のコメント
Itamar Engelman
2021 年 9 月 12 日
It happens to me as well
I was needed to delete my dashboard scope(only one signal) but it solves my problem.
Thanks
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Configure and View Diagnostics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!