can we use HDL coder for functions that have another functions inside themselve ??
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Tim McBrayer
on 3 Jun 2015
Edited: Tim McBrayer
on 3 Jun 2015
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 Comments
Tim McBrayer
on 5 Jun 2015
Moved: DGM
on 2 Apr 2024
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'))
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!