This repository contains a wrapper for LimeSDR-USB drivers that allows to work from Matlab.
All necessary files for the wrapper is located in the folder "_library".
You can find basic examples for the usage of the library in the folder "_examples".
Code is updated to support the current version of LimeSuit(19.04).
Before starting, run help limeSDR.build_thunk
to view instructions on how to have MATLAB build a Thunk file to use in conjunction with libLimeSuite.
- _library - folder with wrapper files
- _examples - folder that contains basic how to use Matlab with LimeSDR for transmission and reception. Also there is an example for simulateneous transmission and reception.
- _testbenches - folder with scripts that check performance of LimeSDR such as average channel alignment, coherence and etc.
- _tools - additional code components and user defined functions that are required for main scripts.
- _results - folder with simulation results
- Matlab
- LimeSuite 19.04
- Compatible compiler (VS++ is recommended)
- LimeSDR-USB
Steps for the successfull installation:
- Check that the compatible compiler is installed and Matlab recongises it (
mex --setup
) - Check that the LimeSuite 19.04 is installed (you need LimeSuite.dll file)
- Run from Matlab
limeSDR.build_thunk();
- Connect LimeSDR-USB
- Update Firmware
limeutil --update
- Run one of the examples
Original system configuration:
- Windows 10 Pro
- Visual Studio Professional 2015 (compiler)
- Matlab 2018b
- LimeSDR-USB
Library for the Simulink was not modified and probably doesn't work.
The code is based on the work from Jockover
This code is distributed under an MIT License.