Code generation for "quadprog"

5 ビュー (過去 30 日間)
KEERTHI CHACKO
KEERTHI CHACKO 2020 年 11 月 11 日
コメント済み: GE YINBO 2021 年 9 月 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 Center および File ExchangeGet Started with MATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by