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

61 visualizzazioni (ultimi 30 giorni)
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 Commenti
Guille
Guille il 29 Nov 2022
Modificato: Guille il 29 Nov 2022
The file: MATLAB\R2022b\bin\win64\dastudio.dlll must be added to the antivirus exceptions. It works perfect!!!

Accedi per commentare.

Risposta accettata

Kevin Saad
Kevin Saad il 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 Commento
Rodrigo
Rodrigo il 1 Dic 2022
In my case, for some reason the antivirus cannot restore the file, it is necesary to uninnstall and reinstall after desactivating the antivirus

Accedi per commentare.

Più risposte (2)

Stefanie Schwarz
Stefanie Schwarz il 29 Nov 2022
Modificato: Stefanie Schwarz il 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 il 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!

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by