vmcGetHubParams - 2024.2 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2025-02-03
Version
2024.2 English
Export Vitis Model Composer Hub block settings to a file.

Syntax

vmcGetHubParams(hubBlkHdl)
vmcGetHubParams(hubBlkHdl, format='json')

Description

vmcGetHubParams exports Vitis Model Composer Hub block settings to a file. The generated file contains settings for all valid subsystems in the model. The file can be used to exchange Hub block settings between models, programmatically control code generation, or track changes to Hub block settings in a source control system.

The names of parameters in the exported file are the same as the labels in the Vitis Model Composer Hub block.

The JSON file schema can be found in the hub_schema-1.0.json file, located in the simulink folder of the Vitis Model Composer installation directory.

Input Arguments

hubBlkHdl
Path or handle to the Hub block in the model.
format
Format of the generated output file. Currently 'json' is the only supported format.