MATLAB: Can we use MATLAB FUNCTION block for .m file for simulation
matlab codersimulinksimulink blocks
Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?
Best Answer
WAVREAD and WAVWRITE are not amongst thefunctions 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 usingcoder.extrinsic and use them.
Best Answer