Main Content
copy
Class: Simulink.Mask
Namespace: Simulink
Copy mask from one block to another
Syntax
pDest.copy(pSource)
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)
Input Arguments
Examples
Version History
Introduced before R2006a