Main Content

info

Characteristic information about baseband file reader

Description

S = info(bbr) returns characteristic information about the specified baseband file reader.

example

Examples

collapse all

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

collapse all

Baseband file reader, specified as a comm.BasebandFileReader System object.

Output Arguments

collapse all

Characteristic information about the baseband file reader, returned as a scalar structure. Default content include these fields.

Total number of baseband data samples in the file, returned as a positive integer.

Data Types: double

Data type of the baseband signal in the file, returned as 'double', 'single', 'uint8', 'uint16', 'uint32', 'uint64', 'int8', 'int16', 'int32', or 'int64'.

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