Failed to load library 'mblibv1'

84 views (last 30 days)
Banu Abdikadirova
Banu Abdikadirova on 28 May 2020
I am trying to run the following simulink model which was developed using SimMechanics (v2.7) available at this link (Download the 2010 model (available for Academic or Non-Profit Organization Noncommercial research use only).
I tried to run the model in MATLAB 2020a and installed Simscape Multibody (v7.1), however, I am getting the following error: Failed to load library 'mblibv1'. How can this problem be resolved? Body sensors/body actuators are not recognized in the model.

Answers (1)

Bhargavi Maganuru
Bhargavi Maganuru on 7 Jul 2020
2019b Warns that " Simscape Multibody First Generation libraries will be deprecated. Use Second Generation Library (sm_lib)"
It’s because Simscape Multibody no longer supports use of first-generation functions and blocks in 2020a, so it cannot find the library mblibv1 .
As a workaround, you can do any of the following
  • Run files in 2019b or earlier versions
  • Update the model using blocks from Simscape Multibody Second Generation Library (sm_lib).
  • Use Simscape Multibody 1G Conversion Assistant tool to build Simscape Multibody 2G model that provides same behavior as 1G model.

Community Treasure Hunt

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

Start Hunting!