Main Content

removeAllParameters

Class: Simulink.Mask
Namespace: Simulink

Remove all existing parameters from a mask

Description

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")

example

Examples

expand 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