File Exchange

image thumbnail

Communications Toolbox Support Package for BladeRF 2.0

version 0.0.13 (287 KB) by Victor Bursucianu
Prototype and test software-defined radio (SDR) systems using BladeRF 2.0 with MATLAB and Simulink.


Updated 26 Mar 2020

GitHub view license on GitHub

Experimental toolbox for BladeRF 2.0 with MATLAB and Simulink (Work in Progress).
This package is based on the matlab bindings for bladerf from :
It has been modified to make it work with the bladeRF 2.0 and provides a convenient way to use the bladeRF 2.0 with Matlab/Simulink.

# Installation requirements:
Make sure you have libbladeRF and bladeRF-CLI installed. On windows you can easily install it via:
This installer should install everything in "C:\Program Files\bladeRF". In that location, delete the folder named "matlab" since this toolbox is meant to remplace it with the right files for the bladeRF 2.0
You can also install "libbladeRF" and "bladeRF-CLI" from source:

# Known issues (Work in progress):
- Rx Sampling Rate seems locked to 3 MSps for the Simulink Receiver.
- Simulink blocs does not gives the option for channel selection....yet

# What is working?:
- Matlab bindings are using the libbladerf library directly. It works well with the bladeRF2.0
- TX in simulink works well (however, more than 10 MSps can seriously impact output samples consistency (dropped samples)).

# Planned features:
- Channel Selection for simulink bloc.
- Input port for center frequency/sample rate for simulink bloc.

# Troubleshooting:
- If the library doesn't appear in Simulink:
1. Press F5 in the library browser to update the library index.
2. If it still doesn't appear, make sure that the toolbox is in the matlab path.

# Platform Compatibility:
Linux and MacOS will be tested once everything works on Windows.

Comments and Ratings (3)

Great. Hopefully MIMO will be introduced in simulink blocks.



Linking this toolbox to github until release 1.0.0


Corrected blocs options in library: "code generation" to "interpreted execution"


Project needs to be a Toolbox


Removed old version of library


Correction on blocs path and display


Correction on adding the blocs to the library path.


Making the project not a Toolbox


Change Package title name


Added a matlab file to include simulink blocs models


Adding All the required files to the project


Adding Simulink blocs for RX, TX and TRX


0.0.2: Added TX and RX Simulink Model to Package
0.0.1: Creation of the package

MATLAB Release Compatibility
Created with R2018b
Compatible with R2016a to R2019b
Platform Compatibility
Windows macOS Linux
Tags Add Tags