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 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의