MATLAB Answers

Auto-code friendly functions

11 ビュー (過去 30 日間)
Siamak Hesar
Siamak Hesar 2019 年 1 月 30 日
コメント済み: Siamak Hesar 2019 年 1 月 30 日
I am generating code in Matlab that will later be converted to C via Auto-code. I am wondering if there is a list of auto-code friendly functions for high-level MATLAB built-in functions. In other words, I am trying to figure out which built-in functions I can use and which ones I should avoid and try to replicate. For instance, functions like "norm", "log", "chol", "cholupdate", "qr", and etc.
Thanks.

  0 件のコメント

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

採用された回答

OCDER
OCDER 2019 年 1 月 30 日
You'll need to look through these supported Matlab functions for automatic code generation.
https://www.mathworks.com/help/coder/language-supported-for-code-generation.html

  1 件のコメント

Siamak Hesar
Siamak Hesar 2019 年 1 月 30 日
Thanks a lot for the link, it is very helpful. Is there, however, a distinction between C vs. C++ code gen, when it comes to this list? For instance, are all the objects mentioned in the list have efficinet way of generating "C" code?

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by