Old-version simscape model cannot run on MATLAB 2020

I downloaded a 2017-version simscape model and attempted to run it on MATLAB 2020, but it keeps giving me this error:
I tried resaving this simscape model in my 2020-version MATLAB, but it doesn't work. I have simscape and simscape model body, etc, installed properly already.

回答 (1 件)

Swetha Polemoni
Swetha Polemoni 2021 年 9 月 15 日

1 投票

Hi,
The error is because Simscape no longer supports use of first-generation functions and blocks in 2017, 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 件のコメント

Randy Chen
Randy Chen 2021 年 9 月 18 日
Hi,
Thank you for your reponse.I tried using the conversion assistant, but the conversion assistant is not detecting any 1-G model, so the newly-generated "2g" model is blank.
How can I update my current model using the Second Generation Library? I can't find it in Simulnik

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

カテゴリ

ヘルプ センター および File ExchangeSimscape Multibody についてさらに検索

タグ

質問済み:

2021 年 9 月 12 日

コメント済み:

2021 年 9 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by