Simulink stuck between initalizing and running

조회 수: 9 (최근 30일)
BDI
BDI 2019년 1월 3일
편집: BDI 2023년 5월 17일
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?

채택된 답변

BDI
BDI 2019년 1월 3일
편집: BDI 2023년 5월 17일
It looks like I was streaming too many signals.
Deleting the archive in the SDI helps a lot too.
  댓글 수: 1
Itamar Engelman
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 CenterFile Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by