vmchub_get_param - vmchub_get_param - 2026.1 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2026-06-23
Version
2026.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 following conditions are met:

  • Any of the inputs are not valid
  • You did not select the specified design or subsystem is not selected 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 that is 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.