is it possible to generate hdl code for matlab s functions

Asked by shankar on 5 Jun 2012
Latest activity Commented on by Walter Roberson on 5 Jun 2012

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 on 5 Jun 2012

http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

shankar

Products

1 Answer

Answer by Tim McBrayer on 5 Jun 2012
Accepted answer

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.

0 Comments

Tim McBrayer

Contact us