RTL-SDR connection not working

57 views (last 30 days)
DANIEL BURZEK
DANIEL BURZEK on 13 Feb 2021
Commented: Cyril CAILHOL on 11 Sep 2023
Hello,
I have been attempting to install the RTL-SDR support for Matlab, but I have been running into an issue. I have previously used my RTL-SDR with the SDRSharp software, so I have already setup the driver for it and it works well with that software. I am now trying to get it to work with Matlab but I am running into problems when I attempt the setup of the communication toolbox for RTL. As soon as I start it goes into the part that looks for the driver, it seems to search and then the Zadig software pops up asking me to change the driver. In my case, since I have already setup the RTL, my options do not include the Bulk USB option, and instead it already lists the RTL2838UHIDIR and the driver it has linked to it is already the WinUSB v6.1.7600.16385. At this point I have tried to reinstall this same driver. When I get to the next step to test the connection it always fails, the Radio Name shows the RTL-SDR, but the Radio address and the Tuner show up as Not Found. In the Matlab screen I can see the message "error code -12". I have seen the suggestion to run Zadig as an admin, that did not work. I also tried running Matlab as admin and that didn't help either. At this point I don't know what else to try, and I am hoping someone else may have run into this in the past.
Thanks to anyone that can help.
  2 Comments
Marcin Pol
Marcin Pol on 22 Sep 2021
Hi!
I've got precisely the same problem. Could anyone advice please how to tackle this issue?
DANIEL BURZEK
DANIEL BURZEK on 23 Sep 2021
I was able to fix this by going onto the Matlab screen and typing: sdrinfo (I think that was the command anyway). For some reason it suddenly started recognizing it. I don't have a clue why this worked, but it did.

Sign in to comment.

Answers (2)

Rainer Kufferath
Rainer Kufferath on 8 Jul 2022
Edited: Rainer Kufferath on 8 Jul 2022
I have had the same Problem, it works under SDR# but not with Matlab.
At first I use the MatLab 2022 version, to run the SDR Setup, it dont work, then i try it with Matlab 2018. Here i was able to reinstall the driver (The Zadic window shows the RTL-SDR device, not only the bulk device)
Now I am able to work with my RTL SDR .
Many Greetings
Rainer (Germany , University of Krefeld)

Cyril CAILHOL
Cyril CAILHOL on 11 Sep 2023
Hello,
I have the same problem.
>> sdrinfo
Error code -12
ans =
0×0 empty cell array
Did you solve it?
Thank you for your support
Cyril

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!