Code generation for "quadprog"

13 views (last 30 days)
KEERTHI CHACKO on 11 Nov 2020
Commented: GE YINBO on 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?

Accepted Answer

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

Sign in to comment.

More Answers (0)


Find more on Configure Simulation Conditions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!