Getting Started    

Setting Parameters in the Hamming Code Model

Double-click the Bernoulli Binary Generator block and make the following changes to the parameter settings in the block's mask, as shown in the following figure:

  1. Select the box next to Frame-based outputs in the mask for the Bernoulli Binary Generator block.
  2. Set Samples per frame to 4. This converts the output of the block into frames of size 4, in order to meet the input requirement of the Hamming Encoder Block. See Frames and Frame-Based Processing for more information about frames.

Labeling the Display Block

You can change the label that appears below a block to make it more informative. For example, to change the label below the Display block to "Error Rate Display," first select the label with the mouse. This causes a box to appear around the text. Then enter the changes to the text in the box.


  Hamming Encoder and Decoder Running the Hamming Code Model