Optimization Toolbox Functions Available to Matlab Coder

1 回表示 (過去 30 日間)
B.J. Fregly
B.J. Fregly 2020 年 1 月 12 日
コメント済み: B.J. Fregly 2020 年 10 月 7 日
Can someone provide an update on which Optimization Toolbox functions are supported by the Matlab Coder, and in particular, if it now supports lsqnonlin?
I would like to convert Matlab code that calls fmincon (which I know works) and lsqnonlin into C++ code.

採用された回答

Steven Lord
Steven Lord 2020 年 1 月 12 日
The blue bar labeled "Documentation" near the top of the main documentation page for each MathWorks product should have a link titled Functions. You can see it on the Optimization Toolbox main documentation page. Clicking on it will bring up a list of functions in the product. In the frame to the left there may be check boxes where you can filter the list based on certain extended capabilities (if there are functions in the product that support those extended capabilities.)
Looking at the list of functions that have the "C/C++ Code Generation" extended capability in Optimization Toolbox, lsqnonlin is not in that list. The Extended Capabilities section on the lsqnonlin documentation page also does not list C/C++ Code Generation support (the extended capability it has is Automatic Parallel Support.)
  5 件のコメント
Mary Fenelon
Mary Fenelon 2020 年 10 月 7 日
C/C++ code generation support for lsqnonlin, lsqcurvefit and fsolve was added in R2020b.
B.J. Fregly
B.J. Fregly 2020 年 10 月 7 日
Wooo whooo! That new capability will be super helpful for me. Thanks MathWorks!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by