Failed to load library 'mblibv1'

150 ビュー (過去 30 日間)
Banu Abdikadirova
Banu Abdikadirova 2020 年 5 月 28 日
コメント済み: 影 王 2023 年 11 月 14 日
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.

回答 (1 件)

Bhargavi Maganuru
Bhargavi Maganuru 2020 年 7 月 7 日
Hi,
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.
  1 件のコメント
影 王
影 王 2023 年 11 月 14 日
May i ask how to update the model using blocks from "sm_lib".

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBodies についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by