필터 지우기
필터 지우기

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

조회 수: 6 (최근 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 CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by