Getting Started |
 |
Adding a Scope to the Model
To display the channel errors produced by the Binary Symmetric Channel block, you can add a Scope block to the model. This is a good way to see whether your model is functioning correctly. The example shown in the following figure shows where to insert the Scope block into the model.

To build this model from the one shown in the figure Hamming Code Model, follow these steps:
- Drag the following blocks from the Simulink Library Browser into the model window:
- Relational Operator block from the Simulink Math Operations library
- Scope block from the Simulink Sinks library
- Two copies of the Unbuffer block from the Buffers sublibrary of the DSP Signal Management library
- Double-click the Binary Symmetric Channel block to open its mask, and check the box next to Output error vector. This creates a second output port for the block, which carries the error vector.
- Connect the blocks as shown in the preceding figure. To learn how to do this, see Connecting Blocks and Drawing a Branch Line.
| Displaying Frame Sizes | | Setting Parameters in the Expanded Model |  |