Why MATLAB fn block and S function block are not supported for RTW code generation?

1 回表示 (過去 30 日間)
Ramya
Ramya 2013 年 9 月 30 日
回答済み: Kaustubha Govind 2013 年 9 月 30 日
Why MATLAB fn block and S-function block are not supported for RTW code generation?

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2013 年 9 月 30 日
The Interpreted MATLAB Function block is not supported for code-generation, but the (Embedded) MATLAB Function block does generate code as long as you are only writing MATLAB language features supported for code generation. You can also generate code from MATLAB S-functions by providing a TLC file that includes the C implementation for the block (see Inlining S-Functions for more information).

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by