can we use MATLAB FUNCTION block for .m file for simulation?
1 次查看(过去 30 天)
显示 更早的评论
Is it possible for .m file which has commands wavread and wavwrite in MATLAB FUNCTION BLOCK ?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!