MATLAB ヘルプ センター
Status of capture running in background using baseband receiver or transceiver
Since R2024a
status=isCapturing(bba)
status=isCapturing(bba) returns a logical value status indicating whether the capture running in the background using the specified baseband receiver or baseband transceiver bba has finished.
status
bba
example
collapse all
Create a baseband receiver object, specifying a radio setup configuration previously saved in the Radio Setup wizard.
bbrx = basebandReceiver("MyRadio")
bbrx = basebandReceiver with properties: RadioGain: 10 CenterFrequency: 2.4000e+09 SampleRate: 200000000 Antennas: "RFA:RX2" DroppedSamplesAction: "error" CaptureDataType: "int16"
Capture 1 s of IQ data in the background.
mkdir('basebandData'); capture(bbrx,seconds(1),Background=true);
Check if the capture is in progress.
isCapturing(bbrx)
ans = logical 1
Wait for the capture to complete.
while isCapturing(bbrx) pause(0.1); end
Check that the capture is no longer in progress.
ans = logical 0
Retrieve the outputs of the capture operation and load the captured IQ data into the workspace.
[data,timestamp,droppedSamples] = captureOutputs(bbrx);
basebandReceiver
basebandTransceiver
Baseband application, specified as a basebandReceiver object or basebandTransceiver object.
1 (true)
0 (false)
Background capture status, returned as a 1 (true) or 0 (false).
Data Types: logical
logical
expand all
The isCapturing function now enables you to status of a capture running in background using a basebandTransceiver object.
isCapturing
capture
captureOutputs
stopCapture
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 のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ