basebandReceiver
Description
Use the basebandReceiver object to configure the specified
software-defined radio (SDR) as a baseband receiver to capture raw IQ data from the
air.
This diagram shows a conceptual overview of capturing radio signals in Wireless Testbench™ using a radio configured with this object. By default, the
basebandReceiver object uses onboard data buffering to ensure contiguous data
capture. Alternatively, you can select to capture data directly to the host computer. This
option enables you to capture more data than the onboard memory buffer size, or to capture
data using a hardware configuration that does not support the use of the onboard
memory.
Creation
Syntax
Description
creates a baseband receiver application object for the specified radio
bbrx = basebandReceiver(radio)radio.
Note
The object requires exclusive access to radio hardware resources. Before creating this object, clear any existing Wireless Testbench application object associated with the specified radio from the workspace.
sets properties using one or more name-value arguments. For example,
bbrx = basebandReceiver(radio,PropertyName=Value)CaptureDataType="double" sets the data type of the returned captured
data to double.
loads the application onto the radio and configures properties
during object creation (since R2025a).bbrx = basebandReceiver(radio,Preload=true,PropertyName=Value)
Use this syntax when you plan to schedule or synchronize operations using the radio time.
Input Arguments
Properties
Object Functions
capture | Capture IQ data using baseband receiver or transceiver |
isCapturing | Status of capture running in background using baseband receiver or transceiver |
captureOutputs | Retrieve outputs from capture run in background using baseband receiver or transceiver |
stopCapture | Stop capture running in background using baseband receiver or transceiver |
Examples
Tips
You cannot use
saveandloadto store and reload Wireless Testbench objects. Instead, you can re-create the object with these steps:Write code to create a
basebandReceiverobject with a saved radio setup configurationradioand set the properties.Save the code to a script.
Run the script in a new MATLAB® session with the same saved radio setup configuration.
To check your host performance capability for capturing data, see the Evaluate Host Capture Performance example. This example shows you how to identify the highest sample rate at which contiguous IQ data can be captured with your hardware setup.