Getting Started

Introduction

What Is the Communications Blockset?

Related Products List

Required Software

Using This Guide

Who Should Read This Guide?

How to Use This Guide

Building Models

Introduction

New Simulink Users

Building Models of Communication Systems

Running a Simulink Model

Opening the Model

Overview of the Model

Quadrature Amplitude Modulation

Running a Simulation

Displaying the Error Rate

Setting Block Parameters

Displaying a Plot of Phase Noise

More Demos

Building a Simple Model

The Basic Steps

Using commstartup to Set Simulation Parameters

Opening a New Model Window

Opening Block Libraries

Moving Blocks into the Model Window

Connecting Blocks

Setting Block Parameters

Setting Simulation Parameters

Running the Model

Adding Noise to the Model

Saving a Model

Frames and Frame-Based Processing

Discrete Signals and Sample Times

Continuous Signals

Building a Channel Noise Model

Overview of the Model

Selecting Blocks for the Channel Noise Model

Setting Parameters in the Channel Noise Model

Connecting the Blocks

Running the Channel Noise Model

Reducing the Error Rate Using a Hamming Code

Building the Hamming Code Model

Hamming Encoder and Decoder

Setting Parameters in the Hamming Code Model

Labeling the Display Block

Running the Hamming Code Model

Displaying Frame Sizes

Adding a Scope to the Model

Setting Parameters in the Expanded Model

Observing Channel Errors with the Scope

Modeling a Channel with Modulation

Building the BPSK Model

Binary Phase Shift Keying

Setting Parameters in the BPSK Model

Running the BPSK Model

Reducing the Error Rate with a Cyclic Code

Building the Cyclic Code Model

Setting Parameters in the Cyclic Code Model

Running the Cyclic Code Model

Setting the Symbol Period

Using a Probe Block to Determine Symbol Period

Building a Frequency-Shift Keying Model

Building the FSK Model

Setting Parameters in the FSK Model

Running the FSK Model

Delays in the Model

Finding the Delay in the Model

Multirate Models

Using Sample Time Colors to Check Sample Times

Building a Convolutional Code Model

Building the Convolutional Code Model

Blocks in the Model

Setting Parameters in the Convolutional Code Model

Running the Convolutional Code Model

Using the Communications Blockset with MATLAB

Introduction

Sending Data to the MATLAB Workspace

Using a Signal To Workspace Block

Configuring the Signal To Workspace Block

Viewing the Error Rate Data in the Workspace

Sending Signal and Error Data to the Workspace

Viewing the Signal and Error Data in the Workspace

Analyzing Signal and Error Data

Running Simulations from the Command Line

Running a Single Simulation

Running Multiple Simulations

Setting Parameters in the Phase Noise Model

Plotting the Results of Multiple Simulations

Importing Data from the MATLAB Workspace

Simulating a Signal by Importing Data

Simulating Noise with Imported Data

Simulating Noise with Specified Error Patterns

Setting Sample Times and Samples per Frame

Learning More

Online Help

Demos

The MathWorks Online


 Introduction