.m to HDL

5 ビュー (過去 30 日間)
Amal 2012 年 3 月 7 日
I programmed an .m file using only the functions that could be used for code generation.
What is the link between the .m file (that is correctly programmed) and HDL code? What is the step I should do in between? If you have a link that could help, I would really appreciate it too alongside your answer.
Waiting for your reply.

回答 (1 件)

Tim McBrayer
Tim McBrayer 2012 年 3 月 7 日
The basic answer is that you need to have HDL Coder installed. With the recent release of R2012a, HDL Coder now supports HDL code generation directly from untimed MATLAB code. With releases prior to R2012a MATLAB code must be brought into Simulink HDL Coder via the MATLAB function block. The product page for HDL Coder is located at http://www.mathworks.com/products/hdl-coder/?s_cid=HP_FP_SL_simhdl. If you already have HDL Coder installed, the product documentation is the best place to start.
  2 件のコメント
Amal 2012 年 3 月 10 日
In version R2012a,
1) Am I restricted to the same fucntions in coding as in previous versions to convert to HDL?
2) Does it support Image Processing toolbox?
Kiran Kintali
Kiran Kintali 2012 年 3 月 24 日
Hi Amal,
Please take a look at the documentation for HDL Coder.
We have a section about language support that may be useful. We do not yet support Image Processing Toolbox but lot of our customers write custom image processing algorithms using core MATLAB language constructs.



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by