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.
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
The plot command supports all numeric data types.
plot([0 1 5], [0 0 4])
generates the plot that appears on the icon for the Ramp block, in the Sources library.