hdllib - Display blocks that are compatible with HDL code generation - MATLAB (original) (raw)

Main Content

Display blocks that are compatible with HDL code generation

Syntax

Description

hdllib displays the blocks that are supported for HDL code generation and for which you have a license. The function displays the blocks in the Library Browser. To build models that are compatible with the HDL Coderâ„¢ software, use blocks from this Library Browser view.

If you close and reopen the Library Browser in the same MATLAB® session, the Library Browser continues to show only the blocks supported for HDL code generation.

example

hdllib("off") displays all the blocks for which you have a license in the Library Browser, regardless of HDL code generation compatibility.

Examples

collapse all

To display blocks that are compatible with HDL code generation in the Library Browser, enter this command:

Generating view of HDL Coder compatible blocks in Library Browser.

Library Browser showing blocks compatible with HDL code generation

To restore the Library Browser to the default view, enter this command:

Restoring Library Browser to default view; removing the HDL Coder compatibility view.

Alternatively, in the Library Browser pane, click the exit HDL-compatible blocks mode button.

Version History

Introduced in R2006b

expand all

Starting R2024b, these syntaxes are not recommended:

These syntaxes will be removed in a future release.

To view blocks that are compatible with HDL code generation, use thehdllib syntax instead:

This syntax displays the supported blocks in the Library Browser.

Alternatively, in the Apps tab, select HDL Coder. In the HDL Code tab, select > .

See Also

Topics