Class: Simulink.Mask
Package: Simulink
Get all the variables defined in the mask workspace for a masked block
p = Simulink.Mask.get(blockName)
vars = p.getWorkspaceVariables
gets
the mask on the block specified by p
= Simulink.Mask.get(blockName)blockName
as
a mask object.
returns
as a structure all the variables defined in the mask workspace for
the masked block.vars
= p.getWorkspaceVariables
|
The handle to the block or the path to the block inside the model. |
Get mask as an object using a masked block’s path.
p = Simulink.Mask.get('myModel/Subsystem');
Get all the variables defined in the mask workspace for the masked block.
vars = p.getWorkspaceVariables;