Main Content

Simulink.dialog.Tab Class

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

Create instance of tab dialog control

Description

The Simulink.dialog.Tab class is a handle class that enables you to manage dialog control elements in tabs on a mask dialog box. To manage dialog control elements in tabs, get the mask object and use methods of the Simulink.dialog.Container class. See Add Dialog Control Elements to Mask Dialog Box for more information.

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

Properties

expand all

Identifier of the tab 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

Display text of the tab 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

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

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

  • 'off' — You cannot view or edit the parameters within the tab on a mask dialog box, although the tab prompt appears.

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: logical

Option to display the tab 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 tab dialog control, specified as 'on' or 'off'.

  • 'on' — Justify text boxes within the tab 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 tab dialog control, specified as a character vector.

Example: '[1×4 Simulink.dialog.parameter.Control]'

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

Data Types: char

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

Example: 'Open to View'

Attributes:

GetAccess
public
SetAccess
public
GetObservable
true
SetObservable
true

Data Types: char | string

Methods

expand all

Alternatives

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

Version History

Introduced in R2013b