| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink HDL Coder |
| Contents | Index |
| On this page… |
|---|
HDL Coder Options in the Configuration Parameters Dialog Box |
The following figure shows the top-level HDL Coder pane as displayed in the Configuration Parameters dialog box. To open this dialog box, select Simulation > Configuration Parameters in the Simulink window. Then select HDL Coder from the list on the left.

If you are not familiar with Simulink configuration sets and how to view and edit them in the Configuration Parameters dialog box, see the Setting Up Configuration Sets and Configuration Parameters Dialog Box sections of the Simulink documentation.
Note When the HDL Coder pane of the Configuration Parameters dialog box is displayed, clicking the Help button displays general help for the Configuration Parameters dialog box. |
The following figure shows the top-level HDL Coder pane as displayed in the Dialog pane of the Model Explorer.
To view this dialog box:
Select View > Model Explorer in the Simulink window.
Select your model's active configuration set in the Model Hierarchy tree on the left.
Select HDL Coder from the list in the Contents pane.

When the HDL Coder pane is selected in the Model Explorer, clicking the Help button displays the documentation specific to the current tab.
If you are not familiar with the Model Explorer, see Exploring, Searching, and Browsing Models.
The HDL Coder submenu of the Tools menu (see the following figure) provides shortcuts to the HDL code generation options. You can also use this menu to initiate code generation.

The HDL Coder submenu options are:
Options: Open the HDL Coder pane in the Configuration Parameters dialog box.
Generate HDL: Initiate HDL code generation; equivalent to the Generate button in the Configuration Parameters dialog box or Model Explorer.
Generate Test Bench: Initiate test bench code generation; equivalent to the Generate Test Bench button in the Configuration Parameters dialog box or Model Explorer. If you do not select a subsystem from the top (root) level of the current model in the Generate HDL for menu, the Generate Test Bench menu option is disabled.
Add HDL Configuration to Model or Remove HDL Configuration from Model: The HDL configuration component is an internal data structure that the coder creates and attaches to a model. This component lets you view the HDL Coder pane in the Configurations Parameters GUI, and use the HDL Coder pane to set HDL code generation options. In certain circumstances, you may need to add or remove the HDL Coder configuration component to or from a model. Use this option to add or remove the component. See Adding and Removing the HDL Configuration Component* for further information.
![]() | Code Generation Options in the Simulink HDL Coder GUI | HDL Coder Pane: General | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |