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

18 ビュー (過去 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.......
  1 件のコメント
xin li
xin li 2023 年 3 月 20 日
solved by change simulation mode to fast mode

サインインしてコメントする。


Jun Yang
Jun Yang 2023 年 11 月 29 日
same situation here!
  1 件のコメント
remadel
remadel 2024 年 1 月 4 日
still on the same situation after 10 years

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by