5G Toolbox

Simulate, analyze, and test the physical layer of 5G communications systems


5G Toolbox™ provides standard-compliant functions and reference examples for the modeling, simulation, and verification of 5G communications systems. The toolbox supports link-level simulation, golden reference verification and conformance testing, and test waveform generation.

With the toolbox you can configure, simulate, measure, and analyze end-to-end communications links. You can modify or customize the toolbox functions and use them as reference models for implementing 5G systems and devices.

The toolbox provides reference examples to help you explore baseband specifications and simulate the effects of RF designs and interference sources on system performance. You can generate waveforms and customize test benches to verify that your designs, prototypes, and implementations comply with the 3GPP 5G New Radio (NR) standard.

Get Started:

Waveform Generation

Generate standard-compliant waveforms for the 3GPP 5G NR Release 15. Use your generated waveforms as a golden reference for your 5G design.

NR Subcarrier and Numerology

Generate 5G NR uplink and downlink carrier waveforms based on flexible NR subcarrier spacings and frame numerologies, including carrier bandwidth parts (CBP).

Downlink carrier waveform generation.

Link-Level Simulation

Perform link-level simulations for the 5G NR Release 15. Perform transmitter, channel modeling, and receiver operations. Analyze link performance by computing bit-error rate (BER) and throughput metrics.

Throughput Testing

Characterize 5G NR link-level performance, and perform PDSCH & PUSCH throughput simulations. 

NR PDSCH throughput.

Downlink and Uplink Channels and Signals

Simulate 5G NR downlink and uplink processing. Configure and generate physical signals and channels.

Downlink and Uplink Channels

Create downlink and uplink physical channels including shared (PDSCH and PUSCH), control (PDCCH and PUCCH), and broadcast (PBCH) channels.

Downlink control processing.

Downlink and Uplink Signals

Specify synchronization (PSS, SSS) and demodulation reference (DM-RS) signals.

Synchronization signal blocks and bursts.

Transport Channels and Control Information

Configure and generate downlink transport channels (BCH, DL-SCH) and control information. Simulate channel coding algorithms, including code block segmentation and desegmentation, rate matching, and recovering.

LDPC Coding

Use low-density parity-check (LDPC) coding to encode and decode transport channels, including downlink shared channels (DL-SCH).

LDPC processing for DL-SCH.

Polar Coding

Simulate the NR 5G polar channel coding technique. Apply CRC-aided polar coding to encode and decode downlink control information (DCI) and broadcast channel (BCH) for enhanced mobile broadband (eMBB).

5G new radio polar coding.

Channel Modeling

Perform block-error rate (BLER) simulations with 5G NR TR 38.901 propagation channel models.

CDL Channel Model

Simulate a clustered delay line (CDL) channel model.

CDL channel impulse response.

TDL Channel Model

Simulate a tapped delay line (TDL) channel model.

Channel model with delay profile TDL.

Cell Search Procedures

Perform cell search and selection procedures to obtain initial system information, including the Master Information Block (MIB).


Construct a waveform containing a synchronization signal (SS) burst, pass waveforms through a fading channel, and blindly synchronize to receive the waveforms.

NR synchronization procedures.

MIB Decoding

Provide a detailed procedure to decode the Master Information Block (MIB).

BCH decoding and MIB parsing.

Open, Customizable Algorithms

Use 5G NR customizable and editable algorithms as golden references for design verification. Generate C code from open MATLAB algorithms.

Open MATLAB Code

Use comprehensive sets of transmitter, channel model, and receiver operations that are expressed as open and customizable MATLAB® code.

Open and customizable MATLAB code.

C and C++ Code Generation

Generate C or C++ source code to accelerate simulation, obtain C source code for implementation, or use as a standalone executable. 

C/C++ code generation.

Latest Features

Receiver Design and Synchronization

Calculate practical timing and channel estimates

LDPC decoder enhancements

Model layered belief propagation and min-sum approximation

Support for CSI-RS signals

Model channel state information reference signals (CSI-RS).

5G NR-TM Waveform Generation

Generate standard-compliant 5G NR test models (NR-TMs) for frequency ranges 1 and 2 (FR1 and FR2).

See the release notes for details on any of these features and corresponding functions.

Additional 5G Toolbox Resources