Draw graph connecting series of points on masked subsystem icon
for a vector
element against its index. If
a matrix, it plots each column of the matrix as though it were a vector.
and so on. Vector pairs must be the same length and the list must
consist of an even number of vectors.
Plot commands can include
When Simulink® software encounters
it stops drawing, and then begins redrawing at the next numbers that
inf. The appearance
of the plot on the icon depends on the units defined by the Icon
units option in the Mask Editor.
displays three question marks (
? ? ?) in the block
icon and issues warnings in these situations:
When you have not defined values for the parameters used in the drawing commands (for example, when you first create the mask, but have not yet entered values in the Mask Settings dialog box)
When you enter a masked block parameter or drawing command incorrectly
plot command in masking supports a subset of the syntax of the
plot command. The
plot command in masking
supports all numeric data types and accepts only numbers as input.
plot([0 1 5], [0 0 4])
generates the plot that appears on the icon for the Ramp block, in the Sources library.
Introduced before R2006a