Documentation Center

  • Trial Software
  • Product Updates

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.

Examples

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

| | | | | | |

Was this topic helpful?