info
ベースバンド ファイル リーダーに関する特性情報
説明
例
ベースバンド信号ファイル baseband_samples_1ghz.bb を読み取るように Baseband File Reader オブジェクトを構成します。次に、オブジェクト関数 info を使用して、ベースバンド ファイル リーダーの特性情報を読み取ります。
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
入力引数
ベースバンド ファイル リーダー。comm.BasebandFileReader System object として指定します。
出力引数
ベースバンド ファイル リーダーに関する特性情報。スカラーの構造体として返されます。既定のコンテンツにはこれらのフィールドが含まれます。
ファイル内のベースバンド データ サンプルの合計数。正の整数として返されます。
データ型: double
ファイル内のベースバンド信号のデータ型。'double'、'single'、'uint8'、'uint16'、'uint32'、'uint64'、'int8'、'int16'、'int32'、または 'int64' として返されます。
ファイルから読み取られたサンプル数。非負の整数として返されます。Baseband File Reader オブジェクトの CyclicRepetition プロパティが false の場合、この戻り値が Baseband File Reader の NumSamplesInData プロパティの値を超えることはありません。
データ型: double
バージョン履歴
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- 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)