Code generation for "quadprog"

5 visualizzazioni (ultimi 30 giorni)
KEERTHI CHACKO
KEERTHI CHACKO il 11 Nov 2020
Commentato: GE YINBO il 30 Set 2021
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?

Risposta accettata

Ameer Hamza
Ameer Hamza il 11 Nov 2020
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 Commenti
li gu
li gu il 10 Mar 2021
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 il 30 Set 2021
Dear li, has your hardware in the loop simulation with quadprog been implemented.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by