Return value of specified HDL block-level parameter for specified block
p = hdlget_param(block_path,prop)
gets
the value of a specified HDL property of a block or subsystem, and
returns the value to the output variable. p
= hdlget_param(block_path
,prop
)
|
Path to a block or subsystem in the current model. Default: None |
|
A character vector that designates one of the following:
Default: None |
|
|
In the following example hdlget_param
returns
the value of the HDL block parameter OutputPipeline
to
the variable p
.
p = hdlget_param(gcb,'OutputPipeline') p = 3
In the following example hdlget_param
returns
HDL block parameters and values for the current block to the cell
array p
.
p = hdlget_param(gcb,'all') p = 'Architecture' 'Linear' 'InputPipeline' [0] 'OutputPipeline' [0]
Use hdlget_param
only to obtain
the value of HDL block parameters (see HDL Block Properties: General for
a list of block implementation parameters). Use hdldispmdlparams
to see the values
of HDL model parameters. To obtain the value of general model parameters,
use the get_param
function.