このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
info
Baseband File Reader に関する特性情報
説明
例
Baseband File Reader の特性情報の表示
ベースバンド信号ファイル baseband_samples_1ghz.bb
を読み取るように Baseband File Reader オブジェクトを構成します。次に、オブジェクト関数 info
を使用して、Baseband File Reader の特性情報を読み取ります。
bbr = comm.BasebandFileReader('baseband_samples_1ghz.bb');
info(bbr)
ans = struct with fields:
NumSamplesInData: 10000
DataType: 'double'
NumSamplesRead: 0
Baseband File Reader オブジェクトを解放し、オブジェクトを再構成して、ベースバンド信号ファイル ais_capture.bb
を読み取ります。次に、オブジェクト関数 info
を使用して、再構成された Baseband File Reader オブジェクトに関する特性情報を読み取ります。
release(bbr)
bbr = comm.BasebandFileReader('ais_capture.bb');
info(bbr)
ans = struct with fields:
NumSamplesInData: 262144
DataType: 'single'
NumSamplesRead: 0
入力引数
bbr
— Baseband File Reader
comm.BasebandFileReader
System object™
Baseband File Reader。comm.BasebandFileReader
System object として指定します。
出力引数
S
— Baseband File Reader に関する特性情報
構造体
Baseband File Reader に関する特性情報。次のフィールドを含む構造体として返されます。
NumSamplesInData
— ベースバンド データ サンプルの合計数
正の整数
ファイル内のベースバンド データ サンプルの合計数。正の整数として返されます。
データ型: double
DataType
— ベースバンド信号のデータ型
'double'
| 'single'
| 'uint8'
| 'uint16'
| 'uint32'
| 'uint64'
| 'int8'
| 'int16'
| 'int32'
| 'int64'
ファイル内のベースバンド信号のデータ型。'double'
、'single'
、'uint8'
、'uint16'
、'uint32'
、'uint64'
、'int8'
、'int16'
、'int32'
、または 'int64'
として返されます。
NumSamplesRead
— 読み取られたサンプル数
非負の整数
ファイルから読み取られたサンプル数。非負の整数として返されます。Baseband File Reader オブジェクトの CyclicRepetition
プロパティが false
の場合、この戻り値が Baseband File Reader の NumSamplesInData
プロパティの値を超えることはありません。
データ型: double
バージョン履歴
R2016b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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)