Simulink crash - unexpected exception

38 ビュー (過去 30 日間)
Lukasz Grabowski
Lukasz Grabowski 2019 年 4 月 20 日
回答済み: Heinrich Eismann 2022 年 4 月 27 日
Hello,
my name is Lukas.
Once I open Simulink I got the following error:
Unexpected exception (mwboost::interprocess::intermodule_singleton initialization failed) was caught.
Then, when I try to add a block, Simulink and Matlab crash, giving following error.
Internal program error while accessing database.
I attach the report.
I will be greatful for any help you can give me.
Happy Easter,
  1 件のコメント
志涛 高
志涛 高 2021 年 1 月 7 日
thank you very much,it does work with clearning event logs!
my version is matlab2019a,and for i need to use QUARC2020 i cannot change to use anyother matab version.

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

回答 (4 件)

Lukasz Grabowski
Lukasz Grabowski 2019 年 4 月 22 日
With help from Matlab and Microsoft support we found up that the solution is simple.
Open "Disk Cleanup" in Windows 10, clear system files, the reboot Windows.
It is a work around way for solving this issue, but for now the working one (2019a version of Matlab)
  5 件のコメント
George Iskander
George Iskander 2019 年 5 月 29 日
It worked :) :) Thanks Lukasz Grabowski
I've used Disk-clean up and Event view method then I restared my PC
And simulink started normally......
But I have another problem ....
Simulink Onramp failed to launch... Any Help .......
Fathi Athirah Zulkefli
Fathi Athirah Zulkefli 2021 年 7 月 9 日
hi, where i have to clear system files? is it on the file that contains matlab file?

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


Italo Belli
Italo Belli 2019 年 5 月 17 日
I have the same problem, I tried using "Disk Clean-up" and restartin my laptop but it did't work. Is there a more effective solution to this?
  2 件のコメント
Erik Vogt
Erik Vogt 2019 年 5 月 17 日
編集済み: Erik Vogt 2019 年 5 月 18 日
Use the event viewer solution , however after every restart the failure will occur. My solution was to install 2018b
Italo Belli
Italo Belli 2019 年 5 月 19 日
Hi,
I installed Matlab 2018b and it works fine (so far)! Thank you very much for your answer!
PS: anyway, I hope that the reason for the problem can be found in 2019 version...

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


George Iskander
George Iskander 2019 年 6 月 1 日
I've used Disk-clean up and Event view method then I restared my PC
And simulink started normally......

Heinrich Eismann
Heinrich Eismann 2022 年 4 月 27 日
I had the same problem. When I tried to access the library simulink crashed with unexpected exception error. The problem is related to database connection fault. To resolve this issue you may install a JDBC driver, for instructions see here, or downgrade ODBC to an earlier version. If you just need to finish your project and don't have time then fix invalid shortcuts and defrag your machine. I use ASC free version, works like a charm.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by