block type "MATLABFcn": not yet supported by simulink coder

I use interpreted matlab function in the simulink block.It works on pc when i try to run onTI 28379d launchpad pi it gives "Simulink coder error in block "model/Interpreted Matlab Function", block type "MATLABFcn": not yet supported by simulink coder". what is the problem here? how to solve this?

 採用された回答

Fangjun Jiang
Fangjun Jiang 2019 年 12 月 2 日
編集済み: Fangjun Jiang 2019 年 12 月 2 日

0 投票

Run this in your MATLAB version to bring up the document.
web(fullfile(docroot, 'simulink/ug/comparison-of-custom-block-functionality.html'))
Use "MATLAB Function" block. Avoid using "Interpreted MATLAB Function" block as it is not supported for code generation.

3 件のコメント

ozgun girgin
ozgun girgin 2019 年 12 月 4 日
Thanks for your help
arci biyo
arci biyo 2020 年 10 月 2 日
is it work ?
Yunhai
Yunhai 2023 年 10 月 20 日
yes, it works well now

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

タグ

質問済み:

2019 年 12 月 2 日

コメント済み:

2023 年 10 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by