Main Content

Simulink.dialog.Container Class

Namespace: Simulink.dialog
Superclasses: Simulink.dialog.Control

Create instance of container dialog control

Description

The Simulink.dialog.Container class is a handle class that enables you to manage container dialog controls.

The Simulink.dialog.Container class is a handle class.

Properties

expand all

Identifier of the container dialog control, specified as a string scalar or character vector.

Example: 'Container1'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: char | string

Option to edit parameters in the mask dialog box, specified as 'on' or 'off'.

  • 'on' — You can edit the parameters within the container on a mask dialog box.

  • 'off' — You cannot edit the parameters within the container on a mask dialog box.

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: logical

Option to display the container on the mask dialog box, specified as 'on' or 'off'.

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: logical

Option to justify the text boxes of edit and popup parameters within the container dialog control, specified as 'on' or 'off'.

  • 'on' — Justify text boxes within the container dialog based on the longest parameter prompt.

  • 'off' — Do not justify text boxes.

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: logical

Child dialog controls of the container dialog control, specified as a character vector.

Example: '[1×2 Simulink.dialog.parameter.Edit]'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: char

Informative message that appears when you point to an instance of the container dialog control, specified as a string scalar or character vector.

Example: 'Signal Attributes'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: char | string

Methods

expand all

Alternatives

You can manage container dialog control elements using the Property editor in the Mask Editor dialog box. For more information, see Property editor.

Version History

Introduced in R2013b