How do I load a module which could not be found?

When I open my SimScape Multibody model on the R2018a prerelease I get this warning:
Warning: Can't load 'C:\Program
Files\MATLAB\R2018a\bin\win64\physmod_sm_sli_setup.dll':
The specified module could not be found.
As a result my model does not execute of course, because it needs the simmechanics libraries. However when I open the folder the module is right there. I also disabled anti-virus for this folder to prevent any issues there. The model runs just fine in R2017b on my laptop.
I assume I would get a different error if the file was corrupted, so what could be the problem?

Risposte (1)

Mark McBroom
Mark McBroom il 2 Mag 2018
Is C:\ProgramFiles\MATLAB\R2018a\bin\win64' on the windows PATH variable?

1 Commento

No, but C:\Program Files\MATLAB\R2018a\bin was. I added C:\ProgramFiles\MATLAB\R2018a\bin\win64 too to be sure, but no luck. Here is the full warning message when I open the model.
And the message when I try to open a SimScape block.

Accedi per commentare.

Categorie

Scopri di più su Simscape Multibody in Centro assistenza e File Exchange

Richiesto:

il 30 Apr 2018

Commentato:

il 3 Mag 2018

Community Treasure Hunt

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

Start Hunting!

Translated by