info
Synchronize receiver or transmitter radio settings with radio hardware
Description
info(
returns synchronized radio settings
information between the receiver or transmitter System object™ specified by x
)x
and the associated radio hardware. If
x
has no radio settings information, or if the System object is not associated with a radio hardware attached to the host, the function
returns no information.
returns the information in the structure array radioSettings
= info(x
)radioSettings
.
Examples
Get Synchronized Radio Settings Information for Receiver
Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.
Create a receiver System object for your radio hardware with specific properties. For example:
rx = sdrrx('E3xx', ... 'IPAddress','192.168.3.2', ... 'CenterFrequency',2.2e9, ... 'BasebandSampleRate',800e3, ... 'ChannelMapping',1)
rx = comm.SDRRxE3xx with properties: Main DeviceName: 'E3xx' IPAddress: '192.168.3.2' CenterFrequency: 2.2000e+09 GainSource: 'AGC Slow Attack' ChannelMapping: 1 BasebandSampleRate: 800000 OutputDataType: 'int16' SamplesPerFrame: 20000 EnableBurstMode: false ShowAdvancedProperties: false Show all properties
Synchronize radio settings information between the receiver System object and the associated radio hardware.
radioSettings = info(rx)
## Establishing connection to hardware. This process can take several seconds.
radioSettings = struct with fields:
Status: 'Full information'
CenterFrequency: 2.2000e+09
BasebandSampleRate: 800000
DeviceVersionInfo: [1×1 struct]
GainSource: 'AGC Slow Attack'
Get Synchronized Radio Settings Information for Transmitter
Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.
Create a transmitter System object for your radio hardware with specific properties. For example:
tx = sdrtx('E3xx', ... 'IPAddress','192.168.3.2', ... 'CenterFrequency',2.2e9, ... 'BasebandSampleRate',800e3, ... 'ChannelMapping',1)
tx = comm.SDRTxE3xx with properties: Main DeviceName: 'E3xx' IPAddress: '192.168.3.2' CenterFrequency: 2.2000e+09 Gain: -10 ChannelMapping: 1 BasebandSampleRate: 800000 ShowAdvancedProperties: false Show all properties
Synchronize radio settings information between the transmitter System object and the associated radio hardware.
radioSettings = info(tx)
## Establishing connection to hardware. This process can take several seconds.
radioSettings = struct with fields:
Status: 'Full information'
CenterFrequency: 2.2000e+09
BasebandSampleRate: 800000
Gain: -10
Input Arguments
x
— Receiver or transmitter System object
System object
Receiver or transmitter, specified as a System object.
To create a
comm.SDRRxE3xx
receiver System object, use thesdrrx
function.To create a
comm.SDRTxE3xx
transmitter System object, use thesdrtx
function.
Output Arguments
radioSettings
— Synchronized radio settings information
structure array
Synchronized radio settings information between the System object and the associated radio hardware, returned as a structure array.
Version History
Introduced in R2016b
Ouvrir l'exemple
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)