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

67 vues (au cours des 30 derniers jours)
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 commentaires
Guille
Guille le 29 Nov 2022
Modifié(e) : Guille le 29 Nov 2022
The file: MATLAB\R2022b\bin\win64\dastudio.dlll must be added to the antivirus exceptions. It works perfect!!!

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (2)

Stefanie Schwarz
Stefanie Schwarz le 29 Nov 2022
Modifié(e) : Stefanie Schwarz le 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 le 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!

Catégories

En savoir plus sur Run-Time Parameters dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by