Simulink crash - unexpected exception

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일

1 개 추천

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

Erik Vogt
Erik Vogt 2019년 5월 1일
Hello,
i have the same problem but it doesnt work for me :((
Lukasz Grabowski
Lukasz Grabowski 2019년 5월 2일
I do not know then.
MatLab support answerd me this:
>To clear the logs, you can Run Event Viewer as Admin user, clear the logs in "Windows >Logs/System" and restart the machine. You can refer to the 3rd party tutorial below to try it out:
Howerver this didnt work for me so I used "Disk Cleanup" instead to clear system logs. Remember to restart your system.
I have to do this every time I open my Windows again.
Check if your error report is the same as mine.
Erik Vogt
Erik Vogt 2019년 5월 17일
Hello thank you for the feedback, this was also the „solution“ the matlab service offered, however it is only a temporary solution. Mathworks is already working to fix the problem with the next release so far i know
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 .......
hi, where i have to clear system files? is it on the file that contains matlab file?

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

Italo Belli
Italo Belli 2019년 5월 17일

0 개 추천

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일

0 개 추천

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2019년 4월 20일

답변:

2022년 4월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by