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

조회 수: 5 (최근 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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by