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

8 views (last 30 days)
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

Answers (1)

Tim McBrayer
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
fahim GH
fahim GH on 4 Jun 2015
Moved: DGM on 2 Apr 2024 at 19:09
I can not see the supported libraries :( can u send me this file ??
Tim McBrayer
Tim McBrayer on 5 Jun 2015
Moved: DGM on 2 Apr 2024 at 19:09
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'))

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!