Main Content

getDialogControl

Class: Simulink.Mask
Namespace: Simulink

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.

example

Input Arguments

expand all

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

Data Types: char | string

Output Arguments

expand all

Target dialog control being searched on the mask dialog.

Parent of the dialog control being searched mask dialog.

Examples

expand 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 ).

Version History

Introduced in R2010a