Error when running Pluto Radio QPSK Example
조회 수: 5 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2020년 12월 21일
편집: MathWorks Support Team
2025년 1월 31일
Recently, I have been attempting to run the 'QPSK Transmitter with ADALM-PLUTO Radio' and 'QPSK Receiver with ADALM-PLUTO Radio' examples in MATLAB R2020b. However, I have been encountering the following error:
'QPSKDataDecoder' is used in QPSK Transmitter and Receiver Error in QPSKReceiver/setupImpl (line 113) obj.pDataDecod = QPSKDataDecoder(... Error in runPlutoradioQPSKReceiver (line 56) [~, ~, ~, BER] = rx(rcvdSignal): Error in RX (line 5) BER = runPlutoradioQPSKReceiver(prmQPSKReceiver, printReceivedData);
For reference, you can access the documentation for these examples by executing the following commands in the MATLAB R2020b command window:
Transmitter Example:
>> web(fullfile(docroot, 'supportpkg/plutoradio/ug/qpsk-transmitter-with-adalm-pluto-radio-1.html'))
Receiver Example:
>> web(fullfile(docroot, 'supportpkg/plutoradio/ug/qpsk-receiver-with-adalm-pluto-radio.html'))
Why is this error occurring, and how can it be resolved?
채택된 답변
MathWorks Support Team
2025년 1월 25일
편집: MathWorks Support Team
2025년 1월 31일
The 'plutoradioQPSKReceiverExample' throws the error:
'QPSKDataDecoder' is used in QPSK Transmitter and Receiver
This error occurs due to a missing file 'QPSKDataDecoder' in the Support Package path. Both the 'plutoradioQPSKReceiverExample' in Pluto Hardware Support and 'QPSKTransmitterAndReceiverExample' in the Communications Toolbox use a common file 'QPSKDataDecoder' that is missing in the support package directory, resulting in this error.
To resolve this issue:
Click on the link "QPSK Transmitter and Receiver" in the error message:
'QPSKDataDecoder' is used in QPSK Transmitter and Receiver
This action will change the current folder path to the 'QPSKTransmitterAndReceiverExample' directory in the Communications Toolbox, where 'QPSKDataDecoder' is available.
Next, execute the following command in the MATLAB Command Window to add this location to the MATLAB path:
>> addpath(pwd)
After doing so, both 'plutoradioQPSKReceiverExample' and 'QPSKTransmitterandReceiverExample' should run successfully.
Please follow the link below to search for the required information regarding the current release:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Analog Devices ADALM1000 Support from Data Acquisition Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!