Main Content

Instance prefix

Prefix to generated component instance names

Model Configuration Pane: Global Settings / General


Specify prefix to generated component instance names.


Instance prefix option is disabled when you select the HDL coding standard configuration parameter to Industry.


'u_' (default) | character vector

Default: 'u_'

Specify the prefix as a character vector. HDL Coder™ appends the prefix to component instance names in generated code.


To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: InstancePrefix
Type: character vector
Default: 'u_'

Version History

Introduced in R2012a