openDialog
Open configuration parameters dialog
Syntax
openDialog(configObj
)
Arguments
-
configObj
-
A configuration set (
Simulink.ConfigSet
) or configuration reference (Simulink.ConfigSetRef
)
Description
openDialog
opens a configuration parameters dialog box. IfconfigObj
is a configuration set, the dialog box displays the configuration set. IfconfigObj
is a configuration reference, the dialog box 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 open, its window becomes selected.
Examples
The following example opens 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); openDialog(myConfigObj);
See Also
attachConfigSet
|attachConfigSetCopy
|closeDialog
|detachConfigSet
|getActiveConfigSet
|getConfigSet
|getConfigSets
|setActiveConfigSet