matlab-set-up-usrp-radio

Configure and verify NI USRP radio connections for Wireless Testbench in MATLAB.

995|122|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-set-up-usrp-radio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-set-up-usrp-radio
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/wireless-communications/matlab-set-up-usrp-radio
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-set-up-usrp-radio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Connecting an NI USRP radio to MATLAB involves many failure points: wrong NIC type, incorrect MTU, UHD version mismatches, and misconfigured subnets. This Skill guides an AI agent through a structured diagnostic-first workflow to set up and verify USRP radios (E320, N300, N310, N320, N321, X300, X310, X410) with Wireless Testbench, avoiding trial-and-error debugging.

Core Features & Use Cases

  • Host and Network Inspection: Detects OS, NIC type, link speed, MTU, kernel buffers, USB dongles, and bridge/virtual interface interference before touching the radio.
  • Radio Discovery and Configuration: Uses findsdru and probesdru for discovery, checks UHD version compatibility, and creates saved radio configurations programmatically via DeviceStore or interactively via radioSetupWizard.
  • End-to-End Verification and Troubleshooting: Validates the full TX/RX pipeline with basebandTransceiver, diagnoses dropped samples, and covers manual Mender firmware updates.
  • Use Case: A user connects a new USRP X310 over 10 GbE and findsdru returns nothing. The Skill inspects the host NIC, finds jumbo frames disabled and no static IP on the 192.168.10.x subnet, guides the fixes, then discovers, configures, and verifies the radio.

Quick Start

Ask the agent to set up and verify a connection to your USRP radio, for example: "Help me connect my USRP N310 to MATLAB and verify it works."

Frequently Asked Questions about matlab-set-up-usrp-radio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a USRP radio with MATLAB Wireless Testbench?

Inspect the host NIC and network settings first, then discover the radio with findsdru, check UHD versions with probesdru, create a saved configuration via radioSetupWizard or DeviceStore, and verify with basebandTransceiver. The Skill walks through each step in order.

Why does findsdru return empty when my USRP is connected?

Common causes are a missing static IP on the USRP subnet, a down interface, firewall blocking broadcast discovery, the device still booting (E320/N3xx take 30-60 seconds), or the IP being set on a physical NIC enslaved to a bridge instead of the bridge interface.

Which USRP devices does Wireless Testbench support?

The Skill covers NI USRP E320, N300, N310, N320, N321, X300, X310, and X410. The X410 requires a QSFP to 4x SFP+ breakout cable since native 100 GbE is not supported, and the E320 defaults to 1 GbE with an XG variant for 10 GbE.

What MTU should I use for USRP streaming on 10 GbE vs 1 GbE?

For 10 GbE, set MTU to 9000 with jumbo frames enabled. For 1 GbE on Linux, keep the default 1500. For 1 GbE on Windows with UHD 4.6, set MTU to 1498 and leave jumbo frames disabled.

Why does my USRP stream drop samples in MATLAB?

Dropped samples usually come from wrong MTU for the link speed, small kernel network buffers, USB-to-Ethernet dongles, or a 1 GbE NIC with too high a sample rate. Increase rmem_max/wmem_max to 33554432 and use a dedicated PCIe NIC.

How do I fix a UHD version mismatch between host and USRP radio?

Compare getSDRuDriverVersion on the host with the device version from probesdru. Run radioSetupWizard and use Update Image to flash matching firmware; if the wizard fails, perform a manual Mender update by copying the .mender image to the radio and running mender install.