Main Content

hdldispmdlparams

Display HDL model parameters with nondefault values

Syntax

hdldispmdlparams(model)
hdldispmdlparams(model,'all')

Description

hdldispmdlparams(model) displays, for the specified model, the names and values of HDL parameters that have nondefault values.

hdldispmdlparams(model,'all') displays the names and values of all HDL parameters for the specified model.

Input Arguments

model

Name of an open model.

Default: None

'all'

If you pass in 'all' , hdldispmdlparams displays the names and values of all HDL properties of the specified model.

Examples

The following example displays HDL properties of the current model that have nondefault values.

 hdldispmdlparams(bdroot)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
HDL CodeGen Parameters (non-default)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CodeGenerationOutput           : 'GenerateHDLCodeAndDisplayGeneratedModel'
HDLSubsystem                   : 'simplevectorsum_2atomics/Subsystem'
OptimizationReport             : 'on'
ResetInputPort                 : 'rst'
ResetType                      : 'Synchronous'

The following example displays HDL properties and values of the current model.

 hdldispmdlparams(bdroot,'all')

%%%%%%%%%%%%%%%%%%%%%%%%%
HDL CodeGen Parameters
%%%%%%%%%%%%%%%%%%%%%%%%%

AddPipelineRegisters                  : 'off'
Backannotation                        : 'on'
BlockGenerateLabel                    : '_gen'
CheckHDL                              : 'off'
ClockEnableInputPort                  : 'clk_enable'
.
.
.
VerilogFileExtension                  : '.v'

Introduced in R2010b