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:

  1. Drag the following blocks from the Simulink Library Browser into the model window:
  2. 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.
  3. 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