can we use MATLAB FUNCTION block for .m file for simulation?

6 ビュー (過去 30 日間)
run moves
run moves 2013 年 12 月 23 日
回答済み: Kaustubha Govind 2013 年 12 月 30 日
Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?

採用された回答

Kaustubha Govind
Kaustubha Govind 2013 年 12 月 30 日
WAVREAD and WAVWRITE are not amongst the functions supported for code generation, so they're not directly supported in the MATLAB Function block, but if you don't plan to generate code from your model, you can declare them using coder.extrinsic and use them.

その他の回答 (0 件)

カテゴリ

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