Help CenterHelp Center
Remove all existing parameters from a mask
maskobj = Simulink.Mask.get(blockName)
maskobj.removeAllParameters
example
maskobj = Simulink.Mask.get(blockName) gets the mask on the block specified by blockName as a mask object.
blockName
maskobj.removeAllParameters deletes all existing parameters from the mask.
collapse all
Get mask object using block path.
maskobj = Simulink.Mask.get('myModel/Subsystem');
Delete all existing parameters from the mask.
maskobj.removeAllParameters;
The handle to the block or the path to the block inside the model, specified as a character vector.
Data Types: char | string
char
string
Introduced in R2014a
Simulink.mask | Create Block Masks
Simulink.mask
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office