Main Content

Simulink.dialog.Text class

Package: Simulink.dialog

Create a text dialog control

Description

Use an instance of Simulink.dialog.Text class to add a text dialog control.

Properties

Name

Uniquely identifies the dialog control element and is a required field.

Type: character vector

Prompt

Specifies the text displayed on the mask dialog box.

Type: character vector

Default: empty

WordWrap

Specifies whether to wrap long text to the next line on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'on'

Row

Specifies whether dialog control is placed on the current row or on a new row.

Type: character vector

Value: 'current'|'new'

Default: 'new'

Enabled

Indicates whether dialog control is active on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'on'

Visible

Indicates whether dialog control is displayed on the mask dialog box.

Type: boolean

Value: 'on'|'off'

Default: 'on'