Simulink Reference    
patch

Draws a color patch of a specified shape on the icon of a masked subsytem.

Syntax

Description

patch(x, y) creates a solid patch having the shape specified by the coordinate vectors x and y. The patch's color is the current foreground color.

patch(x, y, [r g b]) creates a solid patch of the color specified by the vector [r g b], where r is the red component, g the green, and b the blue. For example,

creates a red triangle on the mask's icon.

Examples

This command

creates a red triangle on the mask's icon.

See Also


  image plot