Main Content

getActiveConfigSet

Get active configuration set or configuration reference of model

Description

example

getActiveConfigSet(model) returns the active configuration object of the model as a ConfigSet object or a Simulink.ConfigSetRef object.

Examples

collapse all

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

Open the model vdp and 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'

Introduced before R2006a