Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

detachConfigSet

Dissociate configuration set or configuration reference from model

Syntax

detachConfigSet(model, configObjName)

Arguments

model

The name of an open model, or gcs to specify the current model

configObjName

The name of a configuration set (Simulink.ConfigSet) or configuration reference (Simulink.ConfigSetRef)

Description

detachConfigSet detaches the configuration set or configuration reference (configuration object) specified by configObjName from model. If no such configuration object is attached to the model, an error occurs.

Examples

The following example detaches the configuration object named DevConfig from the current model. The code is the same whether DevConfig is a configuration set or configuration reference.

detachConfigSet(gcs, 'DevConfig');

Introduced in R2006a

Was this topic helpful?