Documentation

ConfigSet

Model configuration set

Description

Use theConfigSetobject to access a model configuration set. Get information about your configuration set, manage configuration parameters, and manage components.

Creation

Use the getActiveConfigSet function to get the active configuration set for a model. Use the getConfigSet function to get a model configuration set by name.

Properties

expand all

Components of the configuration set, specified by a cell array ofSimulink.ConfigComponent对象.

Description of the configuration set, specified as a character vector. Use the description to provide additional information about a configuration set, such as its purpose.

Name of the configuration set, specified by a character vector. This name represents the configuration set in the Model Explorer.

Object Functions

attachComponent Attach a component to a configuration set
copy Copy a configuration set
getComponent Get a configuration set component
get_param Get parameter names and values
set_param Set system and block parameter values

Examples

Get the Active Configuration Set for a Model

This example gets the active configuration set of the currently selected model.

hCs = getActiveConfigSet(gcs);

Introduced in R2006a