can we use HDL coder for functions that have another functions inside themselve ??

1 次查看(过去 30 天)
hi I want to use HDL coder for converting my matlab code to VHDL but inside my function code I have another functions like imresize.imresize in another function in matlab and have another functions in it too....:( I dont know what to do??does HDL coder help in these cases??how should I use it thanks so much

回答(1 个)

Tim McBrayer
Tim McBrayer 2015-6-3
编辑:Tim McBrayer 2015-6-3
There is no problem using nested functions in your MATLAB source to HDL Coder, as long as all constructs are supported and all library functions called are also supported. Please refer to the list of supported library functions.
  4 个评论
Tim McBrayer
Tim McBrayer 2015-6-5
移动:DGM 2024-4-2
This is part of the HDL Coder documentation; you will need to log into your MathWorks account.
Alternatively you can refer to the in-product documentation; it's the same material.
>> web(fullfile(docroot, 'hdlcoder/ug/fixed-point-run-time-library-support.html'))

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by