Unable to open MATLAB example through Copying command in command window

61 vues (au cours des 30 derniers jours)
Sri Janani Egambaram
Sri Janani Egambaram le 6 Nov 2024 à 7:35
Commenté : Sri Janani Egambaram le 13 Nov 2024 à 7:19

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 commentaires
Sumukh
Sumukh le 6 Nov 2024 à 7:47
Can you please provide the details of the error encountered?
Sri Janani Egambaram
Sri Janani Egambaram le 6 Nov 2024 à 10:22
Déplacé(e) : Steven Lord le 6 Nov 2024 à 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

Connectez-vous pour commenter.

Réponses (1)

Sumukh
Sumukh le 6 Nov 2024 à 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 commentaire
Sri Janani Egambaram
Sri Janani Egambaram le 13 Nov 2024 à 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

Connectez-vous pour commenter.

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by