Unable to open MATLAB example through Copying command in command window

5 Ansichten (letzte 30 Tage)

Hello everyone,
I am using MATLAB v2022b and now I am working on SDR project for that i have searched for the reference in MATLAB website and found this example Transmit and Receive Tones Using AD9361 Dual-Channels But when I try to open this example using copy command option I cant able to open this and the error is shown like below. I have installed all the required tools and support packages that have mentioned for the example so i guess that wont be a issue. Why is this happenning and is there any other way to open this example?

Thank you
Sri Janani E

  2 Kommentare
Sumukh
Sumukh am 6 Nov. 2024
Can you please provide the details of the error encountered?
Sri Janani
Sri Janani am 6 Nov. 2024
Verschoben: Steven Lord am 6 Nov. 2024
>> openExample ('xilinxsoc/TransmitAndReceiveTonesUsingAD9361DualChannelsExample')
Error using findExample
Example "TransmitAndReceiveTonesUsingAD9361DualChannelsExample" not found in "C:\ProgramData\MATLAB\SupportPackages\R2022b\examples\xilinxsoc\examples.xml".
Error in setupExample (line 6) metadata findExample (arg);
Error in openExample (line 30) [workDir,metadata] = setupExample (exampleld, workDir);
Command Window shows this error

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sumukh
Sumukh am 6 Nov. 2024
The "Transmit and Receive Tones Using AD9361 Dual-Channels" example was introduced in MATLAB R2024a. Consequently, MATLAB R2022b is unable to find the example leading to the mentioned error. The examples available from the "SoC Blockset Support Package for Xilinx Devices" in MATLAB R2022b can be found in the following documentation link:
Kindly update to MATLAB R2024a or later to use the mentioned example using the following link:
You can refer to the following example link in MATLAB R2024a:
I hope this resolves the issue.
  1 Kommentar
Sri Janani
Sri Janani am 13 Nov. 2024
Hi @Sumukh thank you for the reply.
I have updated to MATLAB 2024b but still the problem persists and this time error is displayed as in the image. I dont know what went wrong now

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by