Skip to content

matlab/matlab-agentic-toolkit / skills-catalog/wireless-communications/matlab-set-up-usrp-radio

matlab-set-up-usrp-radio

Verified

Set up and verify a connection to an NI USRP radio (USRP E320, N300, N310, N320, N321, X300, X310, or X410) using Wireless Testbench. Use when connecting a USRP for the first time, configuring radio hardware, troubleshooting connection failures, or verifying a radio setup. Covers host inspection (OS, NIC type/speed/MTU), device discovery (findsdru, probesdru), UHD version checking, programmatic radio configuration, and basebandTransceiver verification. Also use when the user mentions USRP setup, radio not found, connection errors, dropped samples, or network configuration for SDR hardware.

FileKindSize
SKILL.mdskill md21.2 KB
manifest.yamlconfig543 B
references/bridge-detection.mdmarkdown1.5 KB
references/troubleshooting.mdmarkdown5.1 KB

references/bridge-detection.md

View on GitHub
# Bridge and Virtual Interface Detection

If the USRP-facing NIC is enslaved to a bridge (Linux `br0`, Windows Hyper-V vSwitch, NIC teaming), the static IP and MTU must be set on the **bridge interface**, not the physical NIC. Discovery (`findsdru`) will fail if the IP is on the wrong interface.

## Linux

```matlab
% Check if the USRP-facing interface is enslaved to a bridge
[~, master] = system('ip -o link show <iface> | grep -o "master [^ ]*"');
if ~isempty(strtrim(master))
    fprintf("WARNING: %s is enslaved to a bridge (%s)\n", '<iface>', strtrim(master));
    fprintf("The static IP and MTU must be set on the bridge interface, not the physical NIC.\n");
end

% List all bridge interfaces and their members
[~, bridges] = system('bridge link show 2>/dev/null');
disp(bridges)
```

## Windows

```matlab
% Check for Hyper-V virtual switches or NIC teaming (these enslave the physical NIC)
[~, vmSwitch] = system('powershell "if (Get-Command Get-VMSwitch -ErrorAction SilentlyContinue) { Get-VMSwitch | Format-Table Name, NetAdapterInterfaceDescription }"');
disp(vmSwitch)

% Check for bridged adapters
[~, bridged] = system('powershell "Get-NetAdapter | Where-Object { $_.InterfaceDescription -like ''*Bridge*'' } | Format-Table Name, InterfaceDescription, Status"');
disp(bridged)
```

## When to Check

- `findsdru` returns empty despite correct subnet and cabling
- Host has Hyper-V, Docker, or libvirt installed (these create bridges)
- `ip link show` reports a `master` on the NIC
- Multiple NICs or NIC teaming is configured

Copyright 2026 The MathWorks, Inc.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall