Main Content

Simulink.Mask.removeAllParameters

Remove all existing parameters from a mask

Description

example

maskobj = Simulink.Mask.get(blockName) gets the mask on the block specified by blockName as a mask object.

maskobj.removeAllParameters deletes all existing parameters from the mask.

Examples

collapse all

Get mask object using block path.

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

Delete all existing parameters from the mask.

maskobj.removeAllParameters;

Input Arguments

collapse all

The handle to the block or the path to the block inside the model, specified as a character vector.

Data Types: char | string

Version History

Introduced in R2014a