Unable to open MATLAB example through Copying command in command window

61 views (last 30 days)

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
Sri Janani Egambaram
Sri Janani Egambaram on 6 Nov 2024 at 10:22
Moved: Steven Lord on 6 Nov 2024 at 14:38
>> 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.

Answers (1)

Sumukh
Sumukh on 6 Nov 2024 at 11:56
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
Sri Janani Egambaram
Sri Janani Egambaram on 13 Nov 2024 at 7:19
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.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!