Main Content

Simulink.Mask.removeAllParameters

Remove all existing parameters from a mask

Description

example

maskobj.removeAllParameters deletes all existing parameters from the mask.

To get the mask object for the mask on a block named BlockName, use this command.

maskobj = Simulink.Mask.get("BlockName")

Examples

collapse all

Get mask object using block path.

maskobj = Simulink.Mask.get('myModel/Subsystem');

Delete all existing parameters from the mask.

maskobj.removeAllParameters;

Version History

Introduced in R2014a