can we use MATLAB FUNCTION block for .m file for simulation?
1 view (last 30 days)
Show older comments
run moves
on 23 Dec 2013
Answered: Kaustubha Govind
on 30 Dec 2013
Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?
0 Comments
Accepted Answer
Kaustubha Govind
on 30 Dec 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!