(Removed) Send data from Xilinx ZC706 radio hardware and FMCOMMS2/3/4 RF card
object sends data to Xilinx® ZC706 radio hardware and an Analog
Devices® FMCOMMS2, FMCOMMS3, or FMCOMMS4 RF card on the same Ethernet subnetwork. This
connection enables you to simulate and develop various software-defined radio
The following diagram shows the conceptual overview of transmitting and receiving radio
signals with this support package. MATLAB® interacts with the
object to send signals to the radio hardware.
To send data to the radio hardware:
comm.SDRTxZC706FMC234 object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects? (MATLAB).
The RF card attached to the radio hardware determines the maximum number of channels that can
be used for sending data with the
FMCOMMS4 supports one channel.
FMCOMMS2 and FMCOMMS3 support up to two channels.
ChannelMapping property to indicate whether to use a
single channel or both channels. The object receives a matrix signal, where each
column corresponds to one fixed-length channel of data. For each channel, you can
Gain property independently, or you can apply the same
setting to both channels. All other property values are applied to both
creates a transmitter System
object with default properties that you can use to send data to the Xilinx ZC706 radio hardware and FMCOMMS2/3/4 RF card.
tx = sdrtx(
'ZC706 and FMCOMMS2/3/4')
creates the object with properties set by using one or more name-value pair arguments. The
property name must be placed inside single quotes (' '), followed by the specified value.
Unspecified properties take default values.
tx = sdrtx(
'ZC706 and FMCOMMS2/3/4',
tx = sdrtx('ZC706 and FMCOMMS2/3/4', ... 'IPAddress','192.168.30.2', ... 'CenterFrequency',2.5e9, ... 'BasebandSampleRate',1e6, ... 'ChannelMapping',1);
Unless otherwise indicated, properties are nontunable, which means you cannot change their
values after calling the object. Objects lock when you call them, and the
release function unlocks them.
If a property is tunable, you can change its value at any time.
For more information on changing property values, see System Design in MATLAB Using System Objects (MATLAB).
ShowAdvancedProperties— Option for advanced properties
Option for advanced properties, specified as
can set the following advanced properties:
tx( sends a signal to the radio
hardware associated with the
comm.SDRTxZC706FMC234 transmitter System
To use an object function, specify the
object as the first input argument. For
example, to release system resources of a System
Configure the ZC706 radio hardware and FMCOMMS2 card with an IP address of 192.168.3.2. Set the radio to transmit at 2.4 GHz with a baseband rate of 1 MHz.
tx = sdrtx('ZC706 and FMCOMMS2/3/4', ... 'IPAddress','192.168.3.2', ... 'CenterFrequency',2.4e9, ... 'BasebandSampleRate',1e6, ... 'ChannelMapping',1);
Use a DPSK modulator as the data source to transmit the data with the radio hardware.
Mod = comm.DPSKModulator('BitInput',true); for counter = 1:20 data = randi([0 1],30,1); modSignal = Mod(data); tx(modSignal); end
comm.SDRTxZC706FMC234has been removed
Errors starting in R2020a
Starting in release R2018b, the support package uses Analog Devices industrial I/O (IIO) drivers and the corresponding libiio library for interfacing with Linux® IIO devices. This transition gives you access to more advanced device properties through additional objects and blocks.
object has been removed. Use the
For more information on how this transition affects your existing models, see Compatibility with Previous Releases.