.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.

Réponses (1)

Tim McBrayer
Tim McBrayer le 7 Mar 2012

0 votes

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 commentaires

Amal
Amal le 10 Mar 2012
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 le 24 Mar 2012
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Code Generation dans Centre d'aide et File Exchange

Produits

Question posée :

le 7 Mar 2012

Community Treasure Hunt

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

Start Hunting!

Translated by