Issue loading Simulink in R2014a

5 次查看(过去 30 天)
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?

回答(4 个)

Udari Madhushani
Udari Madhushani 2015-9-24
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).
  1 个评论
Andrew Hawkins
Andrew Hawkins 2015-9-26
编辑:Andrew Hawkins 2015-9-26
Unfortunately, the network installer didn't allow me to change the directory in which it installed.
Also, if this were the problem, all of my classmates would be having this issue as well and they are not.
Thank you!

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2015-9-24
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.
  1 个评论
Andrew Hawkins
Andrew Hawkins 2015-9-26
I saw the mention of dependancy walker and I've tried it but I don't know what to make of it.
I downloaded it before and ran it.
I found some missing dlls but from what I read, most of them are false positives due to the tool being out of date.
What should I be looking for and, in dependancy walker, do I open Matlab or the dll that is having issues?
Thanks!

请先登录,再进行评论。


Andrew Hawkins
Andrew Hawkins 2015-9-26
编辑:Andrew Hawkins 2015-9-26
So, I ran the Dependancy Walker but I don't know what to make of it.
Then I uninstalled and reinstalled Matlab. Simulink loaded again last night but after I ended up restarting, Simulink no longer works because of the same error as previously mentioned.
I may just buy the student edition but I shouldn't have to and I feel like it can't be that much longer before the issue can be resolved.
Here is a screen capture of running dependency walker with libmwsimulink.dll.
I read that the API-MS ones are most likely false positives.

Andrew Hawkins
Andrew Hawkins 2015-9-28
I finally have Simulink working. After uninstalling it for the 3rd time, I checked the box that says to remove the preferences when uninstalling Matlab. Finally after installing for the 3rd time, I have been able to close Matlab and Simulink still works.
I wish I could find a better solution but this worked for me.
I tried to "rehash" the toolbox cache and path but no success.
  1 个评论
Andrew Hawkins
Andrew Hawkins 2015-9-29
Ok... So never mind what I just said 7 hours ago. I just tried to run Simulink and I get slapped with this:
Caught "std::exception" Exception message is:
FatalException(unknown)
MATLAB:dispatcher:loadLibrary Can't reload 'C:\Program Files\Matlab\R2014a\bin\win64\sl_graphical_classes.dll'.
Caught MathWorks::System::FatalException
Seriously!?!
This is getting ridiculous. I can't be uninstalling and reinstalling Matlab every time I want to use Simulink.
I would submit a support ticket but MATLAB will not let me because I need an license associated and subscription. It will not let me associate out network license, which makes sense.
I would go to our IT support but they have been next to useless unless I wanted my laptop re-imaged.
Anyone else have any more ideas???

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by