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

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

Have the same problem, using a study-license, after restart Mathlab and trying open Simulink again changed into same error with #492
+1. Happened on a fresh install for me. My antivirus blocked the following file when trying to start simulink: libmwxtester_core_mi.dll
Said it was infected with win64:evo-gen [trj]
I have the SAME problem D: and I need to do a homework :( I have uninstalled and reinstalled 3 times!! T_T
The file: MATLAB\R2022b\bin\win64\dastudio.dlll must be added to the antivirus exceptions. It works perfect!!!

Sign in to comment.

 Accepted Answer

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

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)

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
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 Modeling in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 27 Nov 2022

Commented:

on 1 Dec 2022

Community Treasure Hunt

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

Start Hunting!