Main Content

Simulink.dialog.Container class

Package: Simulink.dialog

Create instances of a container dialog control

Description

Use an instance of Simulink.dialog.Container class to add container type dialog control.

Properties

Name

Uniquely identifies the container dialog control and is a required filed.

Type: character vector

Enabled

Indicates whether container is active on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'on'

Visible

Indicates whether container is displayed on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'on'

AlignPrompts

Allows you to align the parameters vertically on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'off'

DialogControls

Specifies the child dialog controls contained in the container.

Type: Simulink.dialog.Control

Default: Empty array

Methods

addDialogControlAdd dialog control elements to mask dialog box
getDialogControlSearch for a specific dialog control on the mask
removeDialogControlRemove dialog control element from mask dialog box