Failed to load library 'mblibv1'
显示 更早的评论
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
2020-7-7
1 个投票
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".
类别
在 帮助中心 和 File Exchange 中查找有关 Bodies 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!