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!