hdlcoder.sdr
R2026bCreate transmitter and receiver for AD936x-based software-defined radio hardware
Since R2024a
Use of this System object™ is not recommended. Use the sdrtx and sdrrx functions instead. For more information, see
Version History.
Description
Add-On Required: This feature requires the SoC Blockset Support Package for AMD FPGA and SoC Devices add-on.
The hdlcoder.sdr
System object is a signal source that transmits and receives data from an AD936x-based
software-defined radio (SDR) hardware device. Use this object to simulate and develop various
SDR applications.
To use this object, when setting up the hardware in Hardware Setup, select Xilinx® Zynq® ZC706 Evaluation Kit with Analog Devices® FMCOMMS2/3/4 RF card.
To transmit and receive data from the radio hardware:
Create the
hdlcoder.sdrobject 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?
Creation
Description
creates a
transmitter and receiver System object with default properties for the specified hardware device. sdrTxRx = hdlcoder.sdr("Device")
Example: sdrTxRx = hdlcoder.sdr('AD936x');
creates a transmitter and receiver object using one or more name-value arguments. You can
specify additional name-value arguments in any order as
sdrTxRx = hdlcoder.sdr('Device',Name=Value)(Name1,Value1,...,NameN,ValueN). If you do not specify a property, it
uses the default value.
Example: sdrTxRx =
hdlcoder.sdr('AD936x',CenterFrequency=2.4e9,BasebandSampleRate=3.8e6);
Properties
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj, use
this syntax:
release(obj)