Create radio object for interfacing with USRP embedded series radio hardware
creates a radio object to interface with the USRP™ embedded series radio hardware identified by
dev = sdrdev(
DeviceName. This object enables you to configure the radio hardware
and host computer for proper communication. To verify host-hardware communication, call
info(dev) after creating the radio object.
To receive or transmit data through the radio, you must create a receiver or a
transmitter System object™ instead of a radio object. To create these objects, use the
creates a radio object for the specified IP address. Use this syntax only if you configure
the radio hardware with an IP address other than the default during hardware setup.
dev = sdrdev(
lists supported radio device names included with the Communications Toolbox™ Support Package for USRP Embedded Series Radio. The list does not reflect what devices are attached
to the host. For a list of supported hardware in this support package, see Hardware and Software Requirements.
Interface with USRP E3xx Radio Hardware
Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.
Create a radio object for your radio hardware.
dev = sdrdev('E3xx')
dev = SDRDevE3xx with properties: IPAddress: '192.168.3.2' DeviceName: 'E3xx'
Use this object to get radio hardware information.
## Establishing connection to hardware. This process can take several seconds.
ans = struct with fields: Status: 'Full information' libiio: 'Host version: 0.17.g5bdc242' HDL: 'PCORE Version: 10.0b' Bitstream: 'Custom bitstream loaded, Path: /mnt/system.bit, MD5: 33a4ba3394d87d450fb69d6f9a84bbbf'
You can also use this object to test host-radio connectivity.
## Pinging radio IP address ## Checking compatibility of software with hardware ## Testing data path from Zynq board to host ## All tests PASSED.
ans = logical 1
dev — Interface to the radio hardware
comm.SDRDevE3xx radio object
Interface to the radio hardware, returned as a
comm.SDRDevE3xx radio object.
list — Names of USRP embedded series radio hardware
cell array of character vectors
Names of USRP embedded series radio hardware, returned as a cell array of character vectors.
Introduced in R2016b