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.

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);

Introduced in R2006b

Was this topic helpful?