Error while using simscape examples or blocks

6 views (last 30 days)
Hello,
I've just reinstalled Simulink, Simscape and Simscape Driveline but either way if I try to open one simscape example or want to add a simscape/driveline block to any of my models there is an error. It doesn't matter if it's an existing model or just a blank one.
Error Message "Caught "std::exception" Exception message is:
Bundle#690 start failed: Loading C:\Program Files\MATLAB\R2019b\bin\win64\simscape_applications\physmod\sm\sli\mwphysmod_sm_sli_app.dllfailed with error: Das angegebene Modul wurde nicht gefunden. (the used module wasn't found)
Assertion failed: Cannot access NULL ref. Use isValid() before calling methods at
b:\matlab\toolbox\simulink\src\sl_datamodel\export\include\sl_datamodel\slm3i\diagram_h.hpp:102:
Assertion failed: Cannot access NULL ref. Use isValid() before calling methods at
b:\matlab\toolbox\simulink\src\sl_datamodel\export\include\sl_datamodel\slm3i\diagram_h.hpp:102:
Assertion failed: Cannot access NULL ref. Use isValid() before calling methods at
b:\matlab\toolbox\simulink\src\sl_datamodel\export\include\sl_datamodel\slm3i\model_h.hpp:91:"
If I try to open a example Simulink will just stop responding and after a few minutes Matlab crashes. Also I tried to unlock the library but it won't help in any way. While selecting some blocks this message pops up "The selected library block 'fl_lib/Electrical/Electrical Elements/Gyrator' no longer exists."
Have a great start to the new year!
  1 Comment
Ankit Jain
Ankit Jain on 5 May 2020
hey i am facing same problem, please give me suggestions.

Sign in to comment.

Accepted Answer

Mark McBroom
Mark McBroom on 1 Jan 2020
Does the missing file exist on your computer?
c:\Program Files\MATLAB\R2019b\bin\win64\simscape_applications\physmod\sm\sli\mwphysmod_sm_sli_app.dll
  2 Comments
Samir Revelo
Samir Revelo on 22 Feb 2022
Hello,
I also have same issue. Which is solution? I got error using Autosar Blockset.
Thanks in advance

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!