Is the optimization toolbox compatible with the Matlab Coder ?

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 件のコメント

Daniel Balvay
Daniel Balvay 2020 年 7 月 23 日
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

サインインしてコメントする。

 採用された回答

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2020 年 6 月 3 日
編集済み: Darshan Ramakant Bhat 2020 年 6 月 3 日

1 投票

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 件のコメント

Mary Fenelon
Mary Fenelon 2020 年 10 月 7 日
C/C++ code generation support for lsqnonlin, lsqcurvefit and fsolve was added in R2020b.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSystems of Nonlinear Equations についてさらに検索

製品

リリース

R2020a

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by