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

8 visualizaciones (últimos 30 días)
Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 30 de Dic. de 2013
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.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by