Issue loading Simulink in R2014a
4 views (last 30 days)
Show older comments
I can't get Simulink in R2014a to load and get the following error:
Caught "std::exception" Exception message is:
FatalException(unknown)
MATLAB:dispatcher:loadLibrary Can't load 'C:\Program Files\Matlab\R2014a\bin\win64\libmwsimulink.dll': The specified module could not be found.
I've searched and no solution posted seemed to work for my situation.
I am running Win7 Pro 64bit.
The software is provided by Milwaukee School of Engineering on their network installs repository.
I have uninstalled and reinstalled Matlab. Simulink worked once and stopped working again.
I also checked and libmwsimulink.dll is where it is looking for it.
I have Avira as an anti-virus and have also run Matlab without the Real-Time protection enabled. I read somewhere that anti-virus could be an issue but doesn't seem to be the issue.
Any other suggestions?
0 Comments
Answers (4)
Udari Madhushani
on 24 Sep 2015
C:\Program Files\Matlab\R2014a\bin\win64\libmwsimulink.dll
Your directory name contains a space (Program Files). In that case Matlab tends to give an error when you try to load simulink. Try renaming that folder without a space or create a separate folder (ex C:\Matlab).
Walter Roberson
on 24 Sep 2015
When it says that the specified module cannot be found but the file it names is definitely where it should be, then the problem is that a dependency that the dll relies upon is not present. You should use Dependency Walker to track the problem. You might be missing a Microsoft Redistributable.
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!