removeDialogControl
Class: Simulink.Mask
Namespace: Simulink
Remove dialog control from mask dialog box
Syntax
maskObj.removeDialogControl(controlIdentifier)
success = maskObj.removeDialogControl(controlIdentifier)
Description
maskObj.removeDialogControl(
removes the dialog controls such as text, button, hyperlink, and container specified by
controlIdentifier
)controlIndentifier
from the mask dialog box. To remove a dialog control
from a mask dialog box, first get the mask object and assign it to a variable
maskObj
.
returns a logical success
= maskObj.removeDialogControl(controlIdentifier
)1
(true
) when the dialog control is
successfully removed or logical 0
(false
) if the dialog
control element is not removed from the mask dialog box.
Input Arguments
Examples
Alternatives
You can manage dialog control elements using the Parameters & Dialog pane in the Mask Editor dialog box. For more information, see Parameters & Dialog Pane.
Version History
Introduced in R2013b