Simulation stuck in the Termination phase in Simulink 2014b!!

조회 수: 16 (최근 30일)
Qandeel
Qandeel 2015년 12월 14일
댓글: remadel 2024년 1월 4일
Hi everyone, I am using Simulink 2014b for a project which admittedly has a lot of subsystems and takes the Ramp source as an input. I have to run the simulation for 10 s. The simulation is slow (takes around 20 min!) but the greatest problem arises when the simulation ends and gets stuck at the "Terminating" phase. If I try to stop the Simulation, the MATLAB hangs and I have to end it from the Task Manager (all the data is lost inevitably!). I don't get what the basic issue is as my system is pretty adequate (16GB RAM, Core i7, 1TB hard disk) and the simulation runs fine, albeit slowly, for step inputs! Any help would be greatly appreciated! Thanks.
  댓글 수: 2
Annatha K R
Annatha K R 2017년 7월 5일
have you solved your problem? If yes please tell me how you did. I'm facing same issue as well.
Francois Godin
Francois Godin 2017년 12월 5일
Yes, this happens to me too. In my case it is generally accompanied by a bunch of Java Exceptions:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
It happens quite often, I'm curious if there is a way other than completely Killing MatLab.

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

답변 (6개)

Dario Mangoni
Dario Mangoni 2023년 1월 30일
It's sad to see that the same problem is still there even eight years later...

Prakash Patil
Prakash Patil 2018년 4월 30일
I'm facing the same issue. Please let me know if anybody has solved their problem. Thank you!

Gökhan Bayraktar
Gökhan Bayraktar 2018년 7월 18일
Have you solved this problem? I am having almost same issue, please help me if you managed to solve. Thanks

Souarv De
Souarv De 2021년 9월 17일
I am also facing the same issue.

xin li
xin li 2023년 3월 16일
facing same problem.......

Jun Yang
Jun Yang 2023년 11월 29일
same situation here!

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by