Unable to open MATLAB example through Copying command in command window

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 Comments

Can you please provide the details of the error encountered?
>> 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

Sign in to comment.

 Accepted Answer

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 Comment

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

Sign in to comment.

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 6 Nov 2024

Commented:

on 13 Nov 2024

Community Treasure Hunt

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

Start Hunting!