removeDialogControl
Class: Simulink.dialog.Container
Namespace: Simulink.dialog
Remove dialog control from container in mask dialog box
Syntax
maskObj.removeDialogControl(controlIdentifier)
success = maskObj.removeDialogControl(controlIdentifier)
Description
maskObj.removeDialogControl(
removes the dialog controls such as text, button, and hyperlink specified by
controlIdentifier)controlIndentifier from a container in 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