Main Content

Simulink.Mask.getOwner

Determine the block that owns a mask

    Description

    example

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

    maskobj.getOwner returns the interface to the block that owns the mask.

    Examples

    collapse all

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

    maskobj = Simulink.Mask.get('myModel/Subsystem');

    Get the interface to the block that owns the mask.

    maskobj.getOwner;

    Input Arguments

    collapse all

    Handle or path to the block inside the model, specified as a character vector.

    Data Types: char | string

    Version History

    Introduced in R2014a