MATLAB: Error while using simscape examples or blocks

assertion failedblock no longer existsdrivelineerrorlibrary errorMATLABno accessSimscapeSimscape Drivelinesimulink

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!

Best Answer

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
Related Question