User`s guide
Using Multiple Files and Variable Arguments
4-13
Illustration 4: Calling myplot
This illustration calls the function myplot with a value of 4. To execute the
function, make A7 the active cell. Press
F2 and then Enter.
Figure 4-10: Calling myplot with a Value of 4
This procedure plots a line from 1 to 4 in a MATLAB figure window. This
graphic can be manipulated as if it were called from MATLAB directly. The
calling cell contains 0 because the function does not return a value.