Setup RTL-SDR in MATLAB As FM Receiver

About: Electrical Engineering student from University of Engineering and Technology Lahore. Science enthusiast, aspirant to contribute to the world of science by publishing projects related to science and technology

RTL-SDR are quite famous these days for FM receivers and other FM related tasks for Hobbyists and students. This is a simple tutorial to get started with SDR on MATLAB.

For Further help go through the "Communications System Toolbox Support Package for RTL-SDR Radio Examples" in MATLAB documentation.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Requirements

Following components are required to get started:

1) MATLAB (I worked on 2017a)


Further dependencies required are:

> Communications System Toolbox

> Communications System Toolbox Support Package for RTL-SDR Radio

These are to be installed using the ADD-ONS manager in Matlab.

Step 2: Installing the ADD-ONS

Currently the support packages cannot be downloaded using MATLAB 2017a and earlier.

Hence following link is provided as a big fix.

Go through the contents of the link. Download the zip file attached with this step. Extract the contents.

File contains bin and bugreport folders.

Copy the bug report to root directory. In my case, it is C:\Program Files\MATLAB\R2017a

Copy the contents of bin to C:\Program Files\MATLAB\R2017a\bin

> Restart matlab with admin rights and go to ADD-ONS manager

> Type RTLSDR in search and install Communications System Toolbox Support Package for RTL-SDR Radio

> Go through the complete setup and follow all the instructions in the setup.

Step 3: Installing Drivers for RTL

> Plug in the device to the computer.

> Open the Device Manager

> You will find some unrecognized devices.

> Right click on the devices and update driver using internet.

> You have to manually install if does not work through internet directly.

Step 4: Final Step

Now you are all setup.

> Type FMReceiverExample in matlab command window

> Enter the parameters demanded

> You can listen to your favorite radio channel now.

Hope that helps.


Tahir Ul Haq

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest



    Question 6 weeks ago on Step 4

    I want to set the gain in s.d.r manually instead of using AGC for measure an antenna pattern
    how can I do that and what are the values of tuner gain for R820T?