Calling/Conversion of image processing in M-file to Simulink
이전 댓글 표시
Dear all expert,
For information, I purchased a Spartan6 LX9 FPGA Microboard and I found out that the 'system generator' software that come along with my product allow me to program the microboard with Simulink.
However, i can't convert or call the M-file that i wrote, into the simulink. So, i wish to ask how to convert the M-file to Simulink? Or, any other method to program my microboard with the existing M-file coding? Attachment of the tutorials with steps will be kindly appreciated. Thanks
채택된 답변
추가 답변 (1개)
Anson
2011년 10월 13일
0 개 추천
댓글 수: 1
Kaustubha Govind
2011년 10월 14일
Anson: Unfortunately, there is no way to generate HDL code for unsupported functions (like graythresh or bwtraceboundary), unless you can find corresponding Simulink blocks supported by Simulink HDL Coder - you can run "hdllib" at the MATLAB prompt if you have Simulink HDL Coder to see all the blocks supported for HDL code generation.
Note that you can call _any_ MATLAB function from the Embedded MATLAB Function block as long as you declare them using eml.extrinsic (now coder.extrinsic - http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z9-38.html#bq1h2z9-40). However, you _cannot_ generate HDL code from them.
Regarding System Generator - sorry, but I don't know much about this software. The best you could probably do is try writing to Xilinx support?
카테고리
도움말 센터 및 File Exchange에서 HDL Code Generation and Deployment에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!