image thumbnail

Communications Toolbox Library for the Bluetooth Protocol

Simulate, analyze, and test Bluetooth communications systems


Updated 22 Sep 2021

Communications Toolbox™ Library for the Bluetooth® Protocol provides standard-compliant functions and reference examples for the design, modeling, simulation, and testing of Bluetooth communications systems. The library supports modeling all layers of the Bluetooth stack, link-level simulation, network simulation, test waveform generation, over-the-air testing, and golden reference verification.

The Bluetooth library enables you to simulate and analyze Bluetooth basic rate (BR), enhanced data rate (EDR) and Bluetooth low energy (BLE) PHY layer with:
• Waveform generation and visualization
• Signal recovery and analysis
• End-to-end simulation
• Conformance test measurements
• Direction finding (angle of arrival and angle of departure) capabilities

You can also model, simulate, and analyze the Bluetooth BR and BLE protocol stack and network with:
• Channel selection and frequency hopping algorithms
• BLE devices connection procedures
• Co-existence with WLAN interference
• Applications such as Heart Rate Profile (HRP), with all layers of the stack

You can also model, simulate, and analyze the Bluetooth Mesh protocol stack and network with:
• Bluetooth Mesh network layer flooding
• Energy profiling, with friendship feature in mesh
• Packet delivery ratio estimation and analysis

Work with over-the-air signals using ADALM-PLUTO SDR hardware with:
• Bluetooth BR, EDR and BLE signal transmission and reception over a channel
• Receiver operations to decode Bluetooth BR, EDR and BLE signals

To learn detailed information about the library, see the documentation at

Opening the .mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for this add-on and acquire the latest version for the release you have.

This .mlpkginstall file is functional for R2019a and beyond. Content has been added in each release since then, with details in the Communications Toolbox release notes at To access the most complete feature set possible, use the latest MATLAB release.

MATLAB Release Compatibility
Created with R2019a
Compatible with R2019a to R2021b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!