.m to HDL

Hello,
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일

0 개 추천

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
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.
Thanks.
kiran.kintali@mathworks.com

댓글을 달려면 로그인하십시오.

제품

질문:

2012년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by