How to use your own code in simulink
1 次查看(过去 30 天)
显示 更早的评论
i have a code and i want to add it to my simulink mode. How can i do it?
回答(4 个)
Arnaud Miege
2011-5-26
Is this MATLAB code you're talking about? You can use the MATLAB Function block in R2011a (called Embedded MATLAB Function block in previous releases). Depending on what your code does, you may need to re-architecture it slightly to make it compliant with the function supported for code generation or to delcare some functions as extrinsic functions).
HTH,
Arnaud
0 个评论
ssq
2011-11-28
use embedded matlab function block and if want to port it on fpga then use xilinx block sets and block name is M_code
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!