Set the value of a parameter in the Vitis Model Composer Hub block.
Syntax
vmchub_set_param(hubBlock, design_or_subsystem, parameter, paramValue)
Description
vmchub_set_param
sets the paramValue
of the specified parameter for the specified
design or subsystem in the Vitis Model Composer
Hub block.
vmchub_set_param
throws an error if:
- any of the inputs are not valid, or
- if the specified design or subsystem is not selected in the Vitis Model Composer Hub block, or
- if the Vitis Model Composer Hub block configuration has not been saved at least once.
Example
Input Arguments
- hubBlock
- Hub block path in the model
- design_or_subsystem
- Path of subsystem or design that has been selected in the hub block
- parameter
- Parameter of hub block
- paramValue
- The value to be set to the specified parameter for the specified design or subsystem specified in the hub block.