Code generation for "quadprog"

12 次查看(过去 30 天)
Hi, I am trying to get code generation for "quadprog", I am getting error message "Function 'optimoptions' not supported for code generation". I am using MATLAB2018b. What might be the possible solutions?

采纳的回答

Ameer Hamza
Ameer Hamza 2020-11-11
Code generation for optimoptions is only enabled in R2020b, and for quadprog(), it was enabled in R2020a. There is no way to get it in R2018b.
  13 个评论
li gu
li gu 2021-3-10
Just now, it is OK to generate the test example of Quadlog function with vs2017 compiler. However, compiling my model will report the error that the Quadlog function cannot generate code.
GE YINBO
GE YINBO 2021-9-30
Dear li, has your hardware in the loop simulation with quadprog been implemented.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Configure Simulation Conditions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by