InlineMATLABBlockCode

Inline HDL code for MATLAB Function blocks

Settings

'on'

Inline HDL code for MATLAB Function blocks to avoid instantiation of code for custom blocks.

'off' (default)

Instantiate HDL code for MATLAB Function blocks and do not inline.

Set or View This Property

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

Examples

Enable inlining of HDL code:

mdl = 'my_custom_block_model';
hdlset_param(mdl,'InlineMATLABBlockCode','on');

Enable instantiation of HDL code:

mdl = 'my_custom_block_model';
hdlset_param(mdl,'InlineMATLABBlockCode','off');
Was this topic helpful?