Main Content

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. If configObj is a configuration set, the dialog box displays the configuration set. If configObj 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);

Version History

Introduced in R2006b