Simulink and Simscape models built in 2021a do not work properly in 2021b
6 次查看(过去 30 天)
显示 更早的评论
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/944779/image.png)
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?
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!