How do I solve the problem regarding the contents of s-function block that do not work properly when transferring the model from Simulink 2013b to Simulink 2019b

1 次查看(过去 30 天)
Hello everyone,I have designed an MPC controller using an S- function block with quadprog to solve the optimization problem . the model runs fine on Simulink 2013 . when I tried to use Simulink 2019b , an error shows up saying the problem is infeasible
during presolve , quadprog found constraints to be in consistent to within the constraint tolerance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Block Libraries 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by