Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

removeAllParameters

Class: Simulink.Mask
Package: Simulink

Remove all existing parameters from a mask

Syntax

p = Simulink.Mask.get(blockName)
p.removeAllParameters

Description

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

p.removeAllParameters deletes all existing parameters from the mask.

Input Arguments

blockName

The handle to the block or the path to the block inside the model.

Examples

  1. Get mask as an object using a masked block's path.

    p = Simulink.Mask.get('myModel/Subsystem');
  2. Delete all existing parameters from the mask.

    p.removeAllParameters;
Was this topic helpful?