How can I use quadprog in Simulink?
Ältere Kommentare anzeigen
Hello everyone,
I am using quadprog in a MatLab function in Simulink. When I run the simulation, I get the following error "Function 'quadprog' not supported for code generation". My purpose is running a simulation and interpreting the results, I don't want to generate any code from the model.
Any suggestions on how I can solve this issue?
Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (1)
Mary Fenelon
am 21 Apr. 2020
1 Stimme
Code generation support for quadprog was added in R2020a.
3 Kommentare
Saleh Msaddi
am 21 Apr. 2020
li gu
am 8 Mär. 2021
I want to ask why I upgrade matlab to 2020, but still report an error to show that this function cannot generate code?
Saleh Msaddi
am 8 Mär. 2021
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!