Radio I/O
Use functions, System objects and blocks to:
Update firmware and query information about your radio and firmware.
Find radios connected to the host computer.
Apply radio hardware parameters and tune radio properties.
Configure a radio to transmit and receive IQ data over the air.
For details on supported hardware and how to connect and set up your SDR hardware, see Radio Management.
Use examples to:
Tune your transmitter-to-receiver link for quality and performance.
Transmit and receive digitally modulated waveforms.
Model a data link layer (DLL), medium access control (MAC) sublayer, and logical link control sublayer functionality.
Implement multiple-input multiple-output (MIMO) systems.
Transmit and receive signals compliant with various standards.
Functions
sdruload | Load FPGA and firmware images for USRP radio |
findsdru | Status of USRP radios connected to host computer |
getSDRuDriverVersion | UHD version number of installed radio |
capture | Capture RF data using SDRu receiver (Since R2023b) |
setsdruip | Set IP address for USRP radio |
probesdru | Detailed USRP radio information |
info | Current USRP radio settings |
referenceLockedStatus | Lock status of USRP radio to 10 MHz clock signal (Since R2021a) |
gpsLockedStatus | Lock status of GPSDO to GPS constellation (Since R2021a) |
getRadioTime | Get current USRP radio time (Since R2023b) |
Objects
comm.SDRuReceiver | Receive data from USRP device |
comm.SDRuTransmitter | Send data to USRP device |
Blocks
SDRu Receiver | Receive data from USRP device |
SDRu Transmitter | Send data to USRP device |
Topics
Frequency Offset Calibration
- Frequency Offset Calibration Receiver with USRP Hardware
Use USRP™ System objects to measure and calibrate transmitter/receiver frequency offset at the receiver. - Frequency Offset Calibration Transmitter with USRP Hardware
Use USRP System objects to measure and calibrate transmitter/receiver frequency offset at the transmitter. - Frequency Offset Calibration with USRP Hardware in Simulink
These two models show how to determine the relative frequency offset between two USRP™.
Spectrum Analysis
- Spectrum Analysis of Signals
Perform spectral analysis of signals using either recorded data or real-time reception with RTL-SDR, ADALM-PLUTO, or USRP radios, tuning to specific bands and utilizing a spectrum analyzer for viewing and measurements. - Spectrum Analysis of Signals in Simulink
Perform spectral analysis of signals using either recorded data or real-time reception with RTL-SDR, ADALM-PLUTO, or USRP radios, tuning to specific bands and utilizing a spectrum analyzer for viewing and measurements.
Digital Modulation
- QPSK Transmitter with USRP Hardware
Use USRP radio with SDRu transmitter System object™ to implement QPSK transmitter. - QPSK Transmitter with USRP Hardware in Simulink
Use USRP radio with SDRu Transmitter Block to implement QPSK transmitter. - QPSK Receiver with USRP Hardware
Use USRP radio with SDRu receiver System object to implement QPSK receiver. - QPSK Receiver with USRP Hardware in Simulink
Use USRP radio with SDRu Receiver Block to implement QPSK transmitter. - OFDM Receiver Using Software Defined Radio
Design an orthogonal frequency division multiplexing (OFDM) receiver for a single-input single-output (SISO) channel using a software-defined radio (SDR). - OFDM Transmitter Using Software-Defined Radio
Design an orthogonal frequency division multiplexing (OFDM) transmitter for a single-input single-output (SISO) channel using a software-defined radio (SDR).
MAC Modeling
- Packetized Modem with Data Link Layer
Implement a packetized modem with Data Link Layer using MATLAB®.
Multiple-Input Multiple-Output (MIMO) Modeling
- Multiple Channel Input and Output Operations
Multiple Input Multiple Output (MIMO) operations use multiple transceiver chains. - LTE Transmitter Using Software Defined Radio (LTE Toolbox)
This example shows how to generate a reference measurement channel (RMC) downlink (DL) LTE waveform suitable for over-the-air transmission. - LTE Receiver Using Software-Defined Radio (LTE Toolbox)
This example shows how to recover the master information block (MIB) and basic system information from an over-the-air LTE downlink (DL) waveform. - Alamouti Coding Based MIMO Transmitter using USRP Radio
This example demonstrates the implementation of a 2x2 Multiple Input Multiple Output (MIMO) transmitter based on Alamouti based Space-Time Block Coding (STBC) using a USRP™ radio. - Alamouti Coding Based MIMO Receiver using USRP Radio
This example demonstrates the implementation of a 2x2 multiple input multiple output (MIMO) receiver based on Alamouti space-time Block Coding (STBC) using a USRP™ radio.The MIMO receiver processes the received signal and decodes the QPSK-modulated payload that the Alamouti Coding Based MIMO Transmitter using USRP Radio example sends using Alamouti STBC . - Estimate Direction of Arrival Using MUSIC Algorithm and TwinRX Daughterboard
Estimate the direction of arrival of a signal with MUSIC algorithm using X300/X310 USRP radio with TwinRX daughterboard.
FM Modeling
- FM Broadcast Receiver
Build an FM mono or stereo receiver using MATLAB. - FM Broadcast Receiver in Simulink
Build an FM mono or stereo receiver using Simulink®. - RDS/RBDS and RadioText Plus (RT+) FM Receiver
Extract program or song information from FM radio stations using RDS or RBDS, and optionally RT+, standards by processing previously captured signals or receiving over-the-air signals in real time with an RTL-SDR, ADALM-PLUTO, or USRP radio. - RDS/RBDS and RadioText Plus (RT+) FM Receiver in Simulink
Extract program or song information from FM radio stations using RDS or RBDS, and optionally RT+, standards by processing previously captured signals or receiving over-the-air signals in real time with an RTL-SDR, ADALM-PLUTO, or USRP radio.
Wireless Standards Modeling
- 5G NR Waveform Capture and Analysis Using Software-Defined Radio (5G Toolbox)
Generate and transmit a 5G NR waveform continuously over the air using a supported software-defined radio. - 5G NR Synchronization Signal Capture Using Software-Defined Radio (5G Toolbox)
Use a software-defined radio to capture an SS burst. Analyze the capture and identify the strongest SSB. (Since R2024a) - LTE Transmitter Using Software Defined Radio (LTE Toolbox)
This example shows how to generate a reference measurement channel (RMC) downlink (DL) LTE waveform suitable for over-the-air transmission. - LTE Receiver Using Software-Defined Radio (LTE Toolbox)
This example shows how to recover the master information block (MIB) and basic system information from an over-the-air LTE downlink (DL) waveform. - Recover and Analyze Packets in 802.11 Waveform (WLAN Toolbox)
Blindly detect, decode, and analyze IEEE® 802.11™ packets in a waveform. - WLAN Beacon Receiver Using Software-Defined Radio (WLAN Toolbox)
Retrieve information about WiFi networks on the 5 GHz band using a software-defined radio. - Detect Human Presence Using Wireless Sensing with Deep Learning (WLAN Toolbox)
Perform wireless sensing to detect human presence using a CNN and the channel state information in wireless local area networks.
ADS-B and AIS Modeling
- Ship Tracking Using AIS Signals
Track ships by processing automatic identification system (AIS) signals, using either previously captured signals or real-time reception with an RTL-SDR, ADALM-PLUTO, or USRP radio, and display the tracked ships on a map with the Mapping Toolbox™. - Airplane Tracking Using ADS-B Signals
Track planes by processing automatic dependent surveillance-broadcast (ADS-B) signals, using either previously captured signals or real-time reception with an RTL-SDR, ADALM-PLUTO, or USRP radio, and visualize them on a map with the Mapping Toolbox. - Airplane Tracking Using ADS-B Signals in Simulink
Track planes by processing automatic dependent surveillance-broadcast (ADS-B) signals, using either previously captured signals or real-time reception with an RTL-SDR, ADALM-PLUTO, or USRP radio, and visualize them on a map with the Mapping Toolbox.