Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets up and verifies NI USRP radio connections in MATLAB Wireless Testbench, covering host inspection, device discovery, and configuration.
14% 91%+77 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 3 of 22 without it.
Write a short MATLAB snippet to check whether the required hardware support package for NI USRP radios is installed before running setup commands.
Checks for identifier string NI_USRP.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
If any step fails, work through this checklist in order:
| Symptom | Check | Fix |
|---|---|---|
findsdru returns empty | Host NIC not on correct subnet | Set static IP on same subnet as USRP |
findsdru returns empty | NIC interface is down | sudo ip link set <iface> up |
findsdru returns empty | Firewall blocking UHD discovery | Allow UDP traffic on USRP subnet |
findsdru shows USRPDriverNotCompatible | UHD version mismatch | Run radioSetupWizard → Update Image; if wizard fails, use manual Mender update (see below) |
probesdru shows MPM major compat number mismatch (UHD Module Peripheral Manager, not MATLAB Package Manager) | Device firmware older/newer than host UHD | Same fix — radioSetupWizard → Update Image, or manual Mender. findsdru may still show Success |
| Streaming drops samples | MTU wrong for link speed | 10 GbE: set MTU 9000. 1 GbE Windows: set MTU 1498. 1 GbE Linux: leave at 1500 |
| Streaming drops samples | Kernel buffers too small | Increase rmem_max/wmem_max to 33554432 |
| Streaming drops samples | USB dongle | Replace with PCIe NIC |
| Streaming drops samples | 1 GbE NIC with high sample rate | Reduce sample rate or upgrade to 10 GbE (E320 1G variant: max ~25 Msps complex) |
| Streaming drops samples | Laptop on battery | Connect to power supply |
OpTimeout / RFnocError | Data transfer rate too low | See Resolve Issues with Data Transfer Rate |
basebandTransceiver errors | No saved radio config | Create config (Step 4) |
basebandTransceiver errors | Another process claims device | Close other MATLAB sessions or UHD applications; if same session, run clear bbtrx (or variable name) to release the lease |
findsdru returns empty | IP assigned to enslaved NIC, not bridge | Move static IP to the bridge interface (br0, Hyper-V vSwitch) |
findsdru returns empty | STP convergence delay on switch/bridge | Wait 30–50s after link-up, or disable STP on the USRP port |
findsdru returns empty but findsdru(ip) works | Broadcast filtered by managed switch | Configure switch to forward broadcast on the USRP VLAN/port |
| Streaming drops samples but host MTU is 9000 | Switch in path doesn't support jumbo frames | Check switch MTU settings or connect USRP directly to host NIC |
If radioSetupWizard cannot update the radio firmware automatically:
.mender image URL from the device parameters and provide it to the user:params = wt.internal.hardware.DefaultDevices.getUsrpE320Params(); % ← match device
fprintf("Download the Mender image from:\n %s\n", params.ImageInfo.Mender.DOWNLOAD_URL)
.mender file is typically named usrp_<device>_fs.mender), copy and install:scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no <image>.mender [email protected]:/tmp/wt-uhd-image.mender
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.