Unable to open MATLAB example through Copying command in command window

61 visualizaciones (últimos 30 días)
Sri Janani Egambaram
Sri Janani Egambaram el 6 de Nov. de 2024 a las 7:35
Comentada: Sri Janani Egambaram el 13 de Nov. de 2024 a las 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 comentarios
Sumukh
Sumukh el 6 de Nov. de 2024 a las 7:47
Can you please provide the details of the error encountered?
Sri Janani Egambaram
Sri Janani Egambaram el 6 de Nov. de 2024 a las 10:22
Movida: Steven Lord el 6 de Nov. de 2024 a las 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

Iniciar sesión para comentar.

Respuestas (1)

Sumukh
Sumukh el 6 de Nov. de 2024 a las 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 comentario
Sri Janani Egambaram
Sri Janani Egambaram el 13 de Nov. de 2024 a las 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

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by