Generate
Generate HDL code for subsystem or model
Description
Model Configuration Pane: HDL Code Generation
The Generate button generates HDL code for the Subsystem block that you specify by using Generate HDL for parameter. If the Subsystem is not HDL compatible, the code generator displays errors in the HDL Check Report.
Alternatively, in the Simulink Toolstrip, on the HDL Code tab, click the Generate HDL Code button.
Dependencies
To enable this parameter, select one of these configuration parameters:
Programmatic Use
Use the makehdl
function.
For example, to generate HDL code for the subsystem symmetric_fir
within the model sfir_fixed
, use this command:
makehdl("sfir_fixed/symmetric_fir")
Version History
Introduced in R2013a