Why Does Simulink Model Sometimes Pause Unexpectedly?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Chang-Mu
el 18 de Dic. de 2023
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.
Respuestas (1)
Maadhav Akula
el 5 de Abr. de 2020
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!
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!