필터 지우기
필터 지우기

Simulink r2014a gets stuck at 25% CPU, but same model in r2010b runs perfectly fine

조회 수: 2 (최근 30일)
Vivek
Vivek 2015년 2월 23일
댓글: Vivek 2015년 7월 1일
Hi Everyone,
With R2014a, my simulink model which contains libraries and simscape components gets stuck when I hit play and says "running" bu the clock doesn't run. I look at taskmanager and MATLAB process shows around 25% CPU usage. After a few minutes, it starts to simulate and completes successfully. But how can I find out why Matlab gets stuck? Because the same model in r2010b runs perfectly fine. Is it just more error checking in r2014a that's making this happen?

답변 (1개)

Biao
Biao 2015년 5월 5일
I get the same Problem with 2014a and simscape. the Simulink model says running, but the progress clock does not run. it may take more than 10 minutes then I get this error: "Initial conditions solve failed to converge. ...Nonlinear solver to advance time one step failed to converge, residual norm too large."
it may be caused by some initializing values.
but matlab/simulink doesn't provide useful information about which block caused the problem.
  댓글 수: 1
Vivek
Vivek 2015년 7월 1일
Hi Biao, One thing to look at is to initialize simscape variables on components explicitly. You can do this on the "variables" tab on a component dialog box when y ou double click it. You can specify the priority and value of the initialization. This helped a lot in minimizing the running delay that you experienced

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by