Simulink and Simscape models built in 2021a do not work properly in 2021b

5 ビュー (過去 30 日間)
Jingchao Li
Jingchao Li 2022 年 3 月 29 日
回答済み: Tom Vose 2022 年 3 月 31 日
I built a bipedal robot locomotion control model using Simulink and Simscape in 2021a. When I ran this model in 2021b, the results were so far off from 2021a that it didn't work properly. I tried checking with the model upgrade tool and got the following prompt:
However, in both 2021a and 2021b, the solver automatically selects the ode45 method. I haven't used the ode23t method, I tried updating and it still didn't work, so I can't understand the prompt.
Also, I found that the model runs a lot faster in 2021b, but the results are not the same as in 2021a. So I suspect the solver has changed. How can I fix this so that I get the same simulation results in 2021b as in 2021a?

回答 (1 件)

Tom Vose
Tom Vose 2022 年 3 月 31 日
Hi Jingchao. It's hard to know what's going on without seeing the model. If possible, I'd suggest that you submit the model and repro steps to technical support so someone can take a look.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by