Communications Blockset | ![]() ![]() |
Error Detection and Correction
The Error Detection and Correction library contains three sublibraries:
The main Error Detection and Correction library appears below. You can open it by double-clicking on its icon in the main Communications Blockset library (commlib
), or by typing commedac2
at the MATLAB prompt. Each icon in the Error Detection and Correction window represents a sublibrary. In Simulink, double-clicking on one of these icons opens the sublibrary. In this document, clicking on one of the icons below jumps to an overview of that sublibrary.
Block Coding
You can open the Block sublibrary by double-clicking on the Block icon in the main Error Detection and Correction library, or by typing commblkcod2
at the MATLAB prompt.
The table below lists and describes the blocks in the Block sublibrary of the Error Detection and Correction library. For information about a specific block, see the reference pages that follow.
Convolutional Coding
You can open the Convolutional sublibrary by double-clicking on the Convolutional icon in the main Error Detection and Correction library, or by typing commcnvcod2
at the MATLAB prompt.
The table below lists and describes the blocks in the Convolutional sublibrary of the Error Detection and Correction library. For information about a specific block, see the reference pages that follow.
Cyclic Redundancy Check Coding
You can open the CRC sublibrary by double-clicking on the CRC icon in the main Error Detection and Correction library, or by typing commcrc2
at the MATLAB prompt.
The table below lists and describes the blocks in the CRC sublibrary of the Error Detection and Correction library. For information about a specific block, see the reference pages that follow.
Block Name |
Purpose |
CRC-N Generator |
Generate CRC bits according to the selected CRC method and append them to input data |
CRC-N Syndrome Detector |
Detect errors in the input data according to the specified CRC method |
General CRC Generator |
Generate CRC bits according to the generator polynomial and append them to input data |
General CRC Syndrome Detector |
Detect errors in the input data according to the generator polynomial |
![]() | Source Coding | Interleaving | ![]() |