Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

closeDialog - Close configuration parameters dialog

Syntax

closeDialog(configObj)

Arguments

configObj

A configuration set (Simulink.ConfigSet) or configuration reference (Simulink.ConfigSetRef)

Description

closeDialog closes an open configuration parameters dialog box. If configObj is a configuration set, the function closes the dialog box that displays the configuration set. If configObj is a configuration reference, the function closes the dialog box that displays the referenced configuration set, or generates an error if the reference does not specify a valid configuration set. If the dialog box is already closed, the function does nothing.

Example

The following example closes a configuration parameters dialog box that shows the current parameters for the current model. The parameter values derive from the active configuration set or configuration reference (configuration object). The code is the same in either case; the only difference is which type of configuration object is currently active.

myConfigObj = getActiveConfigSet(gcs);
closeDialog(myConfigObj);

See Also

Setting Up Configuration Sets, Referencing Configuration Sets

attachConfigSet, attachConfigSetCopy, detachConfigSet, getActiveConfigSet, getConfigSet, getConfigSets, openDialog, setActiveConfigSet

  


Related Products & Applications

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