Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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.

Réponses (1)

Jonas
Jonas le 9 Juil 2021
See the C/C++ Code Generation notes here.
See an example for generating code with quadprog function here.

Catégories

En savoir plus sur Manual Performance Optimization dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by