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

70 views (last 30 days)
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 Comments
Guille
Guille on 29 Nov 2022
Edited: Guille on 29 Nov 2022
The file: MATLAB\R2022b\bin\win64\dastudio.dlll must be added to the antivirus exceptions. It works perfect!!!

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (2)

Stefanie Schwarz
Stefanie Schwarz on 29 Nov 2022
Edited: Stefanie Schwarz on 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 on 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!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!