Is the optimization toolbox compatible with the Matlab Coder ?

4 visualizaciones (últimos 30 días)
I would like to transform a function including the lsqcurvefit fonction to a C function, but there was a proble during the compilation. So, I would like to know if this function is compatible with the Matlab coder.
Thank you.
Daniel
  1 comentario
Daniel Balvay
Daniel Balvay el 23 de Jul. de 2020
Finally, the issue was circumvented by the joint use of the "fmincon" function and some global variables. Note: the global variables of each type (double, logical) must be declared on different lines.
Daniel

Iniciar sesión para comentar.

Respuesta aceptada

Darshan Ramakant Bhat
Darshan Ramakant Bhat el 3 de Jun. de 2020
Editada: Darshan Ramakant Bhat el 3 de Jun. de 2020
Below is the list of functions supported for codegeneration :
Unfortunately the function Isqcurvefit is not yet supported for codegeneration.
However, I have made an internal note to add this function to the wish list of function to be supported for codegeneration.
  1 comentario
Mary Fenelon
Mary Fenelon el 7 de Oct. de 2020
C/C++ code generation support for lsqnonlin, lsqcurvefit and fsolve was added in R2020b.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by