Main Content

Suffix for validation model name

Suffix of the validation model name

Since R2020b

Model Configuration Pane: Global Settings / Model Generation

Description

Specify the suffix of the validation model name.

Dependencies

To specify Suffix for validation model, select Generated model and Validation model.

Settings

'_vnl' (default) | character vector

Default:'_vnl'

Specify the suffix as a character vector. HDL Coder™ appends the suffix to name of validation model.

Tips

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

For example, to indicate that you are using the generated model as a software interface model, you can use the suffix _sm for the validation model name. Specify this property when you generate HDL code for the symmetric_fir subsystem inside the sfir_fixed model by using either of these methods:

  • Pass the property as an argument to the makehdl function.

    makehdl('sfir_fixed/symmetric_fir','ValidationModelNameSuffix','_sm')
  • When you use hdlset_param, set the parameter on the model, and then generate HDL code by using makehdl.

    hdlset_param('sfir_fixed','ValidationModelNameSuffix','_sm');
    makehdl('sfir_fixed/symmetric_fir');

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: ValidationModelNameSuffix
Type: character vector
Default: '_vnl'

Version History

Introduced in R2020b