Simulink/Simscape Caught "std::exception" Exception message is: Failed to load bundle #444: C:\Program Files\MATL​AB\R2022b\​bin\win64\​dastudio.d​ll

60 Ansichten (letzte 30 Tage)
Simulink and simscape used to work fine, until yesterday it started giving me an error:
"
Caught "std::exception" Exception message is:
Failed to load bundle #444: C:\Program Files\MATLAB\R2022b\bin\win64\dastudio.dll
"
I tried uninstalling and reinstallilng matlab, i tried deleting dastudio.dll then readding it, yet nothing worked.
What should i do to fix this error?
Thanks
  6 Kommentare
Guille
Guille am 29 Nov. 2022
Bearbeitet: Guille am 29 Nov. 2022
The file: MATLAB\R2022b\bin\win64\dastudio.dlll must be added to the antivirus exceptions. It works perfect!!!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kevin Saad
Kevin Saad am 30 Nov. 2022
Apparently this error was due to a false positive quarintine from Avast Anti Virus, or another anti virus software.
In orderto fix this problem, open your anti virus software and remove the corresponding .dll file from the quarantine list and run simulink again. No need to uninstall and reinstall Matlab.
  1 Kommentar
Rodrigo
Rodrigo am 1 Dez. 2022
In my case, for some reason the antivirus cannot restore the file, it is necesary to uninnstall and reinstall after desactivating the antivirus

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Stefanie Schwarz
Stefanie Schwarz am 29 Nov. 2022
Bearbeitet: Stefanie Schwarz am 29 Nov. 2022
Hi everyone,
We are aware of this issue at MathWorks Support. It may be caused by Avast & AVG antivirus software putting "libmwxtester_core_mi.dll" and/or "dastudio.dll" in quarantine. It is safe to assume that this is a false positive. See the following post for more info:
HTH, Stefanie

Adam Keyworth
Adam Keyworth am 29 Nov. 2022
I solved this issue by disabling AVG, fully uninstalling MATLAB (making sure to delete all remaining files from Program Files), then re-installing MATLAB while AVG was still disabled. Simulink now works!

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by