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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处