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 with Matlab 5G toolbox.
- Matlab
- LimeSDR-USB
- Add the folder "_library" in your matlab example folder suach as NRCellSearchMIBAndSIB1RecoveryExample
- Add the code of lms_addin.m in NRCellSearchMIBAndSIB1RecoveryExample.m after the end of loadFromFile
- Connect LimeSDR-USB
- Run the examples
Original system configuration:
- Windows 10
- Matlab with 5G Toolbox
- LimeSDR-USB
- First sample block always droped some packets.
- If you get LimeSDR error: Rx calibration: MCU error 5 (Loopback signal weak: not connected/insufficient gain?), Increasese the gain(0-60).
- Some USB3.0 TypeC HUB droped packets every 4 sample block in 30.72MSPS made it hard to decode sib1. In my test Ugreen HUB is OK.
The code is based on the work from RakhDamir
This code is distributed under an MIT License.