Main Content

Simulink.Mask.getDialogControl

Search for a specific dialog control on the mask

Description

[control,phandle] = maskobj.getDialogControl(cname), search for a specific child dialog control recursively on the mask dialog.

Examples

collapse all

  • Find a text dialog control on the mask dialog box. maskObj is the handle to the mask object. The getDialogControl method returns the handle to the dialog control (hdlgctrl ) and handle to the parent dialog control (phandle ).

Input Arguments

collapse all

Name of the dialog control being searched on the mask dialog, specified as a character vector.

Data Types: char | string

Output Arguments

collapse all

Target dialog control being searched on the mask dialog.

Data Types: char | string

Parent of the dialog control being searched mask dialog.

Data Types: char | string

Version History

Introduced in R2010a