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

Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 12월 30일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2013년 12월 23일

답변:

2013년 12월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by