User`s guide

The Simulink Environment
2-7
6 Add a Scope block to the model.
a Click Sinks (in the Simulink tree) to view the blocks in the Simulink
Sinks library.
b Drag the Scope block from the Sinks library into the model window. (The
Simulink Scope block is the same as the Time Scope block in the DSP
Sinks library.)
7 Connect the blocks.
a Position the pointer near the output port of the Sine Wave block. Hold
down the mouse button (the left button for a multibutton mouse) and
drag the line that appears until it touches the input port of the Matrix
Sum block. Release the mouse button.
b Using the same technique, connect the output of the Matrix Sum block to
the input port of the Scope block.
8 Set the block parameters.
a Double-click on the Sine Wave block. The dialog box that appears allows
you to set the block’s parameters. Parameters are defining values that tell
the block how to operate.
For this example, configure the block to generate a 10 Hz sine wave and
a 20 Hz sine wave by entering
[10 20] for the Frequency parameter.
Both sinusoids will have the default amplitude of
1 and phase of 0
specified by the
Amplitude and Phase offset parameters. They also both
share the default sample period of 0.001 seconds specified by the
Sample
time
parameter, which represents a sample rate of 1000 Hz.