| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
detachConfigSet('model', 'configObjName')
The name of an open model, or gcs to specify the current model
The name of a configuration set (Simulink.ConfigSet) or configuration reference (Simulink.ConfigSetRef)
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.
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');
Setting Up Configuration Sets, Referencing Configuration Sets
attachConfigSet, attachConfigSetCopy, closeDialog, getActiveConfigSet, getConfigSet, getConfigSets, openDialog, setActiveConfigSet
![]() | delete_param | disableimplicitsignalresolution | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |