Main Content

getActiveConfigSet

Get active configuration set or configuration reference of model

Description

example

myConfigObj= getActiveConfigSet(model)returns the active configuration object of the model as aConfigSetobject or aSimulink.ConfigSetRefobject.

Examples

collapse all

Get the active configuration set for a model that is open.

Open the modelvdpand get the active configuration set.

vdp vdpConfig = getActiveConfigSet('vdp');

Input Arguments

collapse all

Name of model, specified as a character vector or string scalar. The model must be open.

Example:'vdp'

Output Arguments

collapse all

The configuration object, returned as aConfigSetobject or aSimulink.ConfigSetRefobject.

Version History

Introduced before R2006a