Error when running Pluto Radio QPSK Example
7 ビュー (過去 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!