Can MATLAB Coder generate C code for the function 'fmincon' from Optimization Toolbox?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Birgitta Blomquist
am 5 Sep. 2018
Bearbeitet: Alan Weiss
am 30 Jun. 2020
The Code Generation Readiness report states Yes, but the function is not listed as Supported for C and C++ Code Generation. All my attempts with MATLAB Coder have failed. Is it possible for MATLAB Coder to generate C code for 'fmincon'?
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 5 Sep. 2018
Bearbeitet: Alan Weiss
am 30 Jun. 2020
Currently, fmincon does not support code generation. Sorry.
Alan Weiss
MATLAB mathematical toolbox documentation
P.S. fmincon gained code generation in R2019b
3 Kommentare
Adam Hug
am 29 Jul. 2019
Hello Sandeep,
What kind of problem(s) are you solving with fmincon and what solver (interior-point, sqp, trust-region-reflective) are you using? Are you setting specific options such as using analytical gradients?
Adam
Mary Fenelon
am 17 Sep. 2019
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!