Main Content

activateConfigSet

R2026b

Activate configuration set of model

Syntax

cgvObj.activateConfigSet(configSetName)

Description

cgvObj.activateConfigSet(configSetName) specifies the active configuration set for the model, only while the model is executed by cgvObj. cgvObj is a handle to a cgv.CGV object. configSetName is the name of a configuration set object, Simulink.ConfigSet, which already exists in the model. The original configuration set for the model is restored after execution of the cgv.CGV object.