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 following conditions are met:
- Any of the inputs are not valid
- You did not select the specified design or subsystem in the Vitis Model Composer Hub block
- You did not save the Vitis Model Composer Hub block configuration at least one time
Example
Input Arguments
- hubBlock
- Hub block path in the model
- design_or_subsystem
- Path of subsystem or design 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.