Main Content

Simulink.dialog.TreeControl Class

Namespace: Simulink

Control Tree control programmatically

Description

Use an instance of Simulink.dialog.TreeControl class to perform the following operations:

  • Get selected items from the tree

  • Set selected items in the tree

Properties

expand all

Uniquely identifies the dialog control, specified as a character vector. It is a mandatory field.

Data Types: string | character vector

Display text on the tree dialog control, specified as a character vector.

Data Types: string | char

Items shown in the tree, specified as a cell array.

Data Types: cell array

MATLAB® command to be executed when the dialog control is invoked, specified as character vector.

Data Types: char | String

Indicates whether dialog control is placed on the current row or on a new row, specified as a character vector.

Data Types: char

Indicates whether tree control is active on the mask dialog box, specified as logical value.

Data Types: logical

Indicates whether tree control is visible or hidden on the mask dialog box specified as a logical value.

Data Types: logical

Indicates whether tree control is enabled for multiple selection, specified as a logical value.

Data Types: logical

Tooltip for the tree control, specified as a character vector.

Data Types: char | string

Version History

Introduced in R2014a