Can't get RTL-SDR to work on 2017a on Win10... 'Error code -12'

12 views (last 30 days)
I'm trying to get an RTL-SDR working with Matlab 2017a on Win10. My RTL-SDR works fine with both SDRSharp and CubicSDR so the hardware is ok and I think I have the drivers set up correctly (I have WinUSB installed for both the Bulk-In interfaces of the RTL-SDR). My particular dongle is a 'NooElec NESDR Smart v4'. When I go through the Matlab setup for the RTL-SDR Hardware Support package and click 'list devices', or when I just enter 'sdrinfo' on the Matlab console I get 'Error code -12'. Any idea what this means or how to fix it?
  3 Comments
Md Anowar Hossain
Md Anowar Hossain on 20 May 2020
Hello Jay, I am facing a problem on Pluto-SDR. After the installation of Communication Support package toolbox for Adalm Pluto SDR, when I reach to hardware setup option I get the error message "The libiio installation directory was not found. Try reinstalling the support package". Pls note that: I am using MTALAB 2019a.
Pls help.
Jorge PARDIÑAS-MIR
Jorge PARDIÑAS-MIR on 15 Sep 2020
Did you resolve the problem Jay K? I'm having the same problem.

Sign in to comment.

Accepted Answer

Edwin Wilson
Edwin Wilson on 25 Sep 2020
I found the fix after hours of scouring the Internet!
Install zadig -> Run it as administrator
In Options Check List All Devices >> Uncheck Ignore Hubs or Composite Devices
In drop down menu select the device saying RTL2838UHIDIR >> Click Replace Driver
Voila!
  3 Comments
Heitor Vinicius Vieira do Nascimento
Thank you very much!!! I was losing my mind trying to fix this and finally I found your answer. It will help me with the rtl class im attending this semester.

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!