info
Characteristic information about baseband file reader
Syntax
Description
Examples
Display Baseband File Reader Characteristic Information
Configure a baseband file reader object to read the baseband_samples_1ghz.bb
baseband signal file. Then read the characteristic information of the baseband file reader by using the info
object function.
bbr = comm.BasebandFileReader('baseband_samples_1ghz.bb');
info(bbr)
ans = struct with fields:
NumSamplesInData: 10000
DataType: 'double'
NumSamplesRead: 0
Release the baseband file reader object and reconfigure the object to read the ais_capture.bb
baseband signal file. Then, read the characteristic information about the reconfigured baseband file reader object by using the info
object function.
release(bbr)
bbr = comm.BasebandFileReader('ais_capture.bb');
info(bbr)
ans = struct with fields:
NumSamplesInData: 262144
DataType: 'single'
NumSamplesRead: 0
Input Arguments
bbr
— Baseband file reader
comm.BasebandFileReader
System object™
Baseband file reader, specified as a comm.BasebandFileReader
System object.
Output Arguments
S
— Characteristic information about baseband file reader
structure
Characteristic information about the baseband file reader, returned as a scalar structure. Default content include these fields.
NumSamplesInData
— Total number of baseband data samples
positive integer
Total number of baseband data samples in the file, returned as a positive integer.
Data Types: double
DataType
— Data type of baseband signal
'double'
|
'single'
|
'uint8'
|
'uint16'
| 'uint32'
| 'uint64'
| 'int8'
| 'int16'
| 'int32'
| 'int64'
Data type of the baseband signal in the file, returned as
'double'
, 'single'
,
'uint8'
, 'uint16'
,
'uint32'
, 'uint64'
,
'int8'
, 'int16'
,
'int32'
, or 'int64'
.
NumSamplesRead
— Number of samples read
nonnegative integer
Number of samples read from the file, returned as a nonnegative integer. The
returned value does not exceed the value of the
NumSamplesInData
property of the baseband file reader when
the CyclicRepetition
property in that object is
false
.
Data Types: double
Version History
Introduced in R2016b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)