Error when running Pluto Radio QPSK Example
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 21 Dez. 2020
Bearbeitet: MathWorks Support Team
am 31 Jan. 2025
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?
Akzeptierte Antwort
MathWorks Support Team
am 25 Jan. 2025
Bearbeitet: MathWorks Support Team
am 31 Jan. 2025
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Analog Devices ADALM1000 Support from Data Acquisition Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!