Auto-code friendly functions

조회 수: 5 (최근 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.

채택된 답변

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개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by