Set HDL-related parameters at model or block level
hdlset_param(path,Name,Value)
hdlset_param(
sets
HDL-related parameters in the block or model referenced by path
,Name,Value
)path
.
The parameters to be set, and their values, are specified by one or
more Name,Value
pair arguments. You can specify
several name and value pair arguments in any
order as Name1,Value1,…,NameN,ValueN
.
|
Path to the model or block for which Default: None |
Specify optional comma-separated pairs of Name,Value
arguments,
where Name
is the argument name and Value
is
the corresponding value. Name
must appear inside
single quotes (' '
). You can specify several name
and value pair arguments in any order
as Name1,Value1,...,NameN,ValueN
.
|
Default: None |
|
Default: Default value is dependent on the property. |
The following example uses the sfir_fixed
model
to demonstrate how to locate a group of blocks in a subsystem and
specify the same output pipeline depth for each of the blocks.
open sfir_fixed; prodblocks = find_system('sfir_fixed/symmetric_fir', 'BlockType', 'Product'); for ii=1:length(prodblocks), hdlset_param(prodblocks{ii}, 'OutputPipeline', 2), end;