How to use your own code in simulink
이전 댓글 표시
i have a code and i want to add it to my simulink mode. How can i do it?
답변 (4개)
Walter Roberson
2011년 5월 26일
1 개 추천
Kaustubha Govind
2011년 11월 28일
1 개 추천
Arnaud Miege
2011년 5월 26일
0 개 추천
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
ssq
2011년 11월 28일
0 개 추천
use embedded matlab function block and if want to port it on fpga then use xilinx block sets and block name is M_code
카테고리
도움말 센터 및 File Exchange에서 Image Acquisition in Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!