vmchub_get_param - 2024.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2024-05-30
Version
2024.1 English

Get the value of a parameter in the Vitis Model Composer Hub block.

Syntax

paramValue = vmchub_get_param(hubBlock, design_or_subsystem, parameter)

Description

vmchub_get_param returns the name or value of the specified parameter for the specified design or subsystem in the Vitis Model Composer Hub block.

vmchub_get_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

Output Arguments

paramValue
The value of the specified parameter for the specified design or subsystem specified in the hub block.