RTL-SDR connection not working
36 views (last 30 days)
Show older comments
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
on 22 Sep 2021
Hi!
I've got precisely the same problem. Could anyone advice please how to tackle this issue?
Answers (3)
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)
0 Comments
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
1 Comment
Cyril CAILHOL
on 11 Sep 2023
sadeq ebrahimi
on 22 Jun 2024
I have the same problem.
I can work with sdr sharp and ... but in matlab in "Test radio connection" it fail to find SDR.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1720466/image.jpeg)
0 Comments
See Also
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!