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
4 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!