Simulink.Mask.copy
Copy a mask from one block to another
Syntax
Description
pDest.copy(
overwrites the destination
mask with the source mask. pSource
)
To get the mask on the source block srcBlockName
, use this
command.
pSource = Simulink.Mask.get(srcBlockName)
To create an empty mask on the destination block destBlockName
, use
this
command.
pDest = Simulink.Mask.create(destBlockName)
Examples
Input Arguments
Version History
Introduced in R2006a