Simulink.Mask.copy
Copy a mask from one block to another
Syntax
Description
pSource = Simulink.Mask.get(
gets
the mask on the source block specified by srcBlockName
)srcBlockName
as a mask
object.
pDest = Simulink.Mask.create(
creates an empty mask on the destination block specified by
destBlockName
)destBlockName
.
pDest.copy(
overwrites the destination
mask with the source mask.pSource
)
Examples
Input Arguments
Version History
Introduced in R2006a