getDialogControl
Class:Simulink.Mask
Package:万博1manbetx
Search for a specific dialog control on the mask
Syntax
[control, phandle] = handle.getDialogControl(cname)
Description
, search for a specific child dialog control recursively on the mask dialog.[control, phandle]
= handle.getDialogControl(cname
)
Input Arguments
|
Name of the dialog control being searched on the mask dialog. |
Output Arguments
|
Target dialog control being searched on the mask dialog. |
|
Parent of the dialog control being searched mask dialog. |
Examples
Find a dialog control
Find a text dialog control on the mask dialog box.maskObj
is the handle to the mask object. ThegetDialogControl
method returns the handle to the dialog control (hdlgctrl
) and handle to the parent dialog control (phandle
).
[hdlgctrl, phandle] = maskObj.getDialogControl('txt_var')