Info
此问题已关闭。 请重新打开它进行编辑或回答。
can hdl coder convert matlab codes that have functions inside them which is written by user?
1 次查看(过去 30 天)
显示 更早的评论
hi I have a matlab main code and i use some functions inside main code that I wrote them.when I run HDL CODER,I have error that these functions can not be recognized. I was wondering if there is any way that matlab know them??
0 个评论
回答(1 个)
Walter Roberson
2015-8-5
In general, Yes, provided that all the elements of the function can be turned into code.
You will generally need to alter your code a bit for use with code generation. See http://www.mathworks.com/help/fixedpoint/algorithm-design.html
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!