Code generation for "quadprog"

5 Ansichten (letzte 30 Tage)
KEERTHI CHACKO
KEERTHI CHACKO am 11 Nov. 2020
Kommentiert: GE YINBO am 30 Sep. 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?

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 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 Kommentare
li gu
li gu am 10 Mär. 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 am 30 Sep. 2021
Dear li, has your hardware in the loop simulation with quadprog been implemented.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by