.m to HDL
4 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Tim McBrayer
on 7 Mar 2012
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 Comments
Kiran Kintali
on 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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!