This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

sdrdev

Create radio object for interfacing with USRP® embedded series radio hardware

Syntax

dev = sdrdev(DeviceName)
sdrdev
list = sdrdev

Description

example

dev = sdrdev(DeviceName) creates a radio object to interface with the USRP®[1] embedded series radio hardware identified by 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.

Note

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 sdrrx and sdrtx functions.

example

sdrdev or list = sdrdev lists SDR devices 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.

Examples

Create Radio Object for USRP® E310 or USRP® E312

dev = sdrdev('E310')
dev = 


SDR device: comm.SDRDevE310

   Properties:
     IPAddress: '192.168.3.2'
    DeviceName: 'E310'

You can use the dev radio object to interface with either USRP® E310 or USRP® E312 radio hardware.

List Supported USRP® Embedded Series Radio Devices

list = sdrdev
list =

  1x1 cell array

    'E310'

Input Arguments

collapse all

Name of USRP® embedded series radio hardware, specified as a character vector. Currently, 'E310' is the only accepted value that you can use for both USRP® E310 and USRP® E312 radio hardware.

Output Arguments

collapse all

Interface to the radio hardware, returned as a USRP® embedded series radio object. For example: comm.SDRDevE310 object.

Names of USRP® embedded series radio hardware, returned as an n-by-1 cell array of character vectors. n is the number of available SDR devices included with the Communications Toolbox Support Package for USRP® Embedded Series Radio.

Introduced in R2016b


[1] USRP, USRP2, UHD, and Ettus Research are trademarks of National Instruments Corp.