Main Content

Simulink.dialog.TabContainer Class

Namespace: Simulink.dialog
Superclasses: Simulink.dialog.Container, Simulink.dialog.Control

Create instance of tab container dialog control

Description

The Simulink.dialog.TabContainer class enables you to create an instance of tab container dialog control in the mask dialog box. Use a tab container to group tab dialog controls in the mask dialog box. To manage dialog control elements in a tab container, get the mask object and use methods of the Simulink.dialog.Container class. For more information, see Add Dialog Control Elements to Mask Dialog Box.

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

Class Attributes

ConstructOnLoad
true
HandleCompatible
true

For information on class attributes, see Class Attributes.

Properties

expand all

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

Example: 'Tab1'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: string | char

Placement of the tab container dialog control, specified as one of these values:

  • 'new' — Place the tab container in a new row in the mask dialog box.

  • 'current' — Place the tab container in the same row as the previous dialog control in the mask dialog box.

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Option to edit parameters in the mask dialog box, specified as one of these values:

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

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

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

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

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

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

Example: '[1×2 Simulink.dialog.Tab]'

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

Data Types: char

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

Example: 'Signal Type'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: string | char

Methods

expand all

Alternatives

You can manage tab 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