How can I generate code for a Matlab function block in Simulink that contains a ''quadprog function''?

I have a simulink model that contains a matlab function in which I have an optimization problem that is solved by quadprog function. I am facing a problem when performing the code generation for the matlab function block due to the presence of the quadprog func.

답변 (1개)

See the C/C++ Code Generation notes here.
See an example for generating code with quadprog function here.

카테고리

도움말 센터File Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 7월 9일

답변:

2021년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by