Simulink Desktop Real-Time Sync block (Matlab 2016b) seems to cause my PC to crash. Is this a reported problem? Any Fix?

5 ビュー (過去 30 日間)
Jameson
Jameson 2017 年 2 月 16 日
回答済み: Nils Hintzen 2018 年 8 月 22 日
This problem appears at random, but is has happened several times on both my laptop and PC (both running Windows 10). When running even simple models (i.e. Sine source to scope) with the real-time sync block, my PC will unexpectedly crash requiring a hard reset. Is this a problem with how the real-time kernel works with my PC clock? Is this a problem anyone else is experiencing, and is there a fix?
  3 件のコメント
Wolfgang Birk
Wolfgang Birk 2017 年 11 月 23 日
編集済み: Wolfgang Birk 2017 年 11 月 23 日
We have the same problem on 2017a. working national instruments A/D cards. Random crashes and there is no way to recover. The PC has to be restarted with a hard reset.
We used our setup for 5 years with real time kernel and did not get any problems. Now we have upgraded to windows 10 and Matlab 2017a.
Note: There were no problems with windows 7 Enterprise and Matlab 2015b.
Sarath Pathirana
Sarath Pathirana 2018 年 2 月 26 日
I have same problems with Windows 10 and Matlab 2017b

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

回答 (7 件)

Wolfgang Birk
Wolfgang Birk 2018 年 2 月 6 日
We have found out that the CPU throttling settings seem to be highly related to the crashes. When we disabled the CPU throttling the crashes have disappeared on all the machines that we use in our lab.
  1 件のコメント
Simo Simolin
Simo Simolin 2018 年 2 月 7 日
Great that you found a solution to this problem! Did you disable throttling from computer settings or could it somehow be disabled from Matlab/Simulink settings?

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


vestel06
vestel06 2017 年 5 月 30 日
I faced with the same problem too. is there any solution ?
  1 件のコメント
Jameson
Jameson 2017 年 7 月 1 日
Sorry for not responding earlier. They looked at my crash dump file and found nothing to do with Matlab.. but it is not solved. I ended up scratching Matlab project and writing Ros nodes directly. Trying to use real time sync with Matlab for my purpose was too much hassle and no one seems to know why it happens so. Sorry about that.

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


Andrea Pisculli
Andrea Pisculli 2017 年 7 月 1 日
I have the same problem.
  1 件のコメント
Jameson
Jameson 2017 年 7 月 1 日
As with previous comment Matlab could not find any link to their software and the constant crashes. I don't think it is worth it to continue trying to use real time sync block for my purpose, but maybe they can try to help your problem? Sorry I can't help.

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


Roberto
Roberto 2017 年 10 月 12 日
Same problem here. I guess I'll try to update Matlab&Simulink, keeping fingers crossed.

Simo Simolin
Simo Simolin 2018 年 2 月 5 日
編集済み: Simo Simolin 2018 年 2 月 5 日
Exactly same problem here (Matlab R2017b, Windows 10). Computer crashes several times per day even with simple models but randomly same models work without any problem. Did anyone find a solution?
Sometimes model gets stuck to "Initializing" phase when trying to run it in External mode and sometimes it succeeds to start the external mode but gets stuck to "t=0.000". Even Task Manager freezes when this happens and hard reset is the only way to recover.

Sviatoslav Klos
Sviatoslav Klos 2018 年 2 月 12 日
https://www.mathworks.com/support/bugreports/1719571

Nils Hintzen
Nils Hintzen 2018 年 8 月 22 日
Hi, has anyone solved this problem by the answer of Sviatoslav Klos? I have updated Matlab to 2018a and have a similar problem. Here ist the link to my question:
https://de.mathworks.com/matlabcentral/answers/415660-problem-to-acquire-data-in-simulink-external-mode-2018a-in-combination-with-an-i-o-device
Nils

カテゴリ

Help Center および File ExchangeReal-Time Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by