Scope block parameters define the signals to trace on the scope
and trigger modes. The Simulink® Real-Time™ Scope block dialog box changes
depending on which scope type you are configuring:
file. For this tutorial, configure a
In the MATLAB® window, type
MATLAB loads the oscillator model and displays the Simulink block diagram.
Double-click block Scope.
Select Scope type
This value means that the scope display appears on the target computer
In the block parameters dialog box, select the Start scope when application starts check box.
This setting is mandatory in
Stand Alone mode
because the development computer is not available to issue a command
to start scopes.
Select Scope mode
Select the Grid check box.
[0,0] in the Y-axis
limits text box. This value means that display scaling
1000 in the Number
of samples text box. For a Scope mode of
redraw, this value means that 1000 samples are acquired
before the graph is redrawn.
0 in the Number
of pre/post samples text box. This value means that samples
are not saved before a trigger or skipped after a trigger.
1 in the Decimation text
box. This value means that data is collected at each sample interval.
Select Trigger mode
This value means that the trigger event is automatic and no
external trigger specification is required.
The target scope dialog box looks like this figure.
Do one of the following:
Click Apply to apply the changes to the model and leave the dialog box open.
Click OK to apply the changes to the model and close the dialog box.
From the File menu, click Save.
The next task is Set Configuration Parameters.