MATLAB Answers

How to set up my USB SDR dongle to interact with MATLAB R2018a

4 views (last 30 days)
Diogo Batista
Diogo Batista on 30 Apr 2018
Answered: Ethem on 4 Apr 2019
Hello,
I'm facing issues at the moment regarding the Comunication System Toolbox and its Hardware Support Package for RTL-SDR radio.
My issue is the following:
  • My hardware is currently not being recognized/detected by MATLAB R2018a
  • The command 'sdrinfo' returns
>> sdrinfo
ans =
0×0 empty cell array
  • The same command, when ran on MATLAB R2016a on the same machine returns
>> sdrinfo
ans =
RadioName: 'Generic RTL2832U OEM'
RadioAddress: '0'
RadioIsOpen: 0
TunerName: 'E4000'
Manufacturer: 'Realtek'
Product: 'RTL2838UHIDIR'
[Irrelevant details omitted]
What I have tried so far:
  • Rebooting my machine
  • All the USB ports
  • Running Zadig independently (in administrator mode)
  • Uninstalling all the dongle drivers from the machine and starting from scratch
  • Using the dongle on other software (tried with SDR# and it worked)
After having already attempted all the listed setup instructions regarding Zadig, I feel out of ideas.
Any help would be appreciated, and have my thanks in advance.

  0 Comments

Sign in to comment.

Answers (1)

Ethem
Ethem on 4 Apr 2019
It is possible that the libraries installed by SDR# are conflicting with libraries installed by R2018a MATLAB. Please try removing the SDR# installed libraries from the path then try sdrinfo in 18a.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by