필터 지우기
필터 지우기

Why Does Simulink Model Sometimes Pause Unexpectedly?

조회 수: 9 (최근 30일)
Paul
Paul 2020년 4월 2일
댓글: Paul 2023년 12월 18일
I have a Simulink model that very occasionally decides to pause on its own. As far as I know, I don't have anything in the model or settings that should make it pause. Almost all of the time it runs to completion. But every now and then I run it and it decides to pause, usually once, sometimes twice. When it pauses, different runs pause at different times. Not a problem if I'm sitting at my computer because I can just hit the play button to continue. But if I had to leave while it was running, it would be annoying to come back and see the simulation paused. Any idea how or why this happens?
  댓글 수: 2
Chang-Mu
Chang-Mu 2023년 12월 18일
Hi Paul,
I have the same issue that sometimes Simulink will auto pause itself. You have to manually resume it by ctrl+c, which should stop the simualtion but resume in this case. I was wondering if you have figured out what is the cause? Thank you.
Paul
Paul 2023년 12월 18일
I never did. Haven't used Simulink much since then.

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

답변 (1개)

Maadhav Akula
Maadhav Akula 2020년 4월 5일
Hi Paul,
One of the probable reasons might be due to breakpoints. Please check if there are any breakpoints in your system and disable them. Check the following link for breakpoints:
Hope this helps!
  댓글 수: 1
Paul
Paul 2020년 4월 8일
I thought breakpoints only apply when running the debugger (except breakoints in Matlab Function block),
I'm not running the debugger, just normal mode and hitting the play button. Can breakpoints come into play in this situation?
Regardless, I don't have any breakpoints set that I know of, but I'll check into this the next time the problem pops up.

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

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by