MATLAB Fcn not yet supported by Simulink coder

2 ビュー (過去 30 日間)
rest12
rest12 2017 年 8 月 5 日
回答済み: Titus Edelhofer 2017 年 8 月 6 日
I am using MATLAB Fcn Function in Simulink. But when I am trying to build my code it gives me an error message that "MATLAB Fcn is not yet supported by Simulink Coder". Can anybody guide me how to fix this error.
Secondly I want to know what other functions I could use for instance my current Fcn function code has just few if else statements with basic math operations. Also I am doing 1-D interpolation of data too.
Many thanks in advance.

採用された回答

Titus Edelhofer
Titus Edelhofer 2017 年 8 月 6 日
Hi,
are you using the "Fcn" block or the "MATLAB Fcn" block? I.e., the one with "f(u)" displayed on the block or the MATLAB logo? The Fcn block is not supported by Simulink Coder whereas you should be able to use the MATLAB Fcn block (although depending on your code, it does not support all MATLAB functions/capabilities).
Titus

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by