is it possible to generate hdl code for matlab s functions

2 views (last 30 days)
i am trying to generate hdl code for a simple matlab s function . in hdl advisor i am getting an error
Warning : Could not find tag for the block 'msfuntmpl_basic' Warning : Cannot find the implementation for block 'test/msfuntmpl_basic' if i skip this warning then i am able to see port definitions only in hdl code.
  1 Comment
Walter Roberson
Walter Roberson on 5 Jun 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Sign in to comment.

Accepted Answer

Tim McBrayer
Tim McBrayer on 5 Jun 2012
No, this is not possible. The full set of blocks supported by HDL Coder, organized by Simulink library, are available via the hdllib command. For a non-hierarchical view, you can run hdllib('flat'). Both of these will create a Simulink library containing each supported block. For more information see the documentation on the hdllib command.

More Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!