Show Blocks Supported for HDL Code Generation

The hdllib function displays the blocks that are compatible with for HDL code generation in the Library Browser. It only displays those blocks for which you have a license. If you construct models using blocks from this Library Browser view, your models are compatible with HDL code generation.

Parameter settings for blocks in this Library Browser view are compatible with HDL code generation, and therefore can differ from the default settings.

Show Supported Blocks in Library Browser

To display the blocks that are compatible with HDL code generation, at the command prompt, enter:

hdllib

The Library Browser opens. You can drag and drop the blocks from the Library Browser into your model.

If you close and reopen the Library Browser in the same MATLAB® session, you continue to see only the blocks that are compatible with HDL code generation. To reset the Library Browser view to show all blocks, click the button.

Reset Library Browser to Show All Blocks

To reset the Library Browser view so that it shows all blocks, regardless of HDL code generation compatibility, at the command prompt, enter:

hdllib('off')

To change the Library Browser view to show only those blocks that are compatible with HDL code generation, click the button.

See Also

Functions

Related Examples

More About

Was this topic helpful?