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 CenterFile Exchange에서 Get 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