Someone can help me about this error

37 visualizaciones (últimos 30 días)
Eko
Eko el 15 de Abr. de 2024 a las 0:37
Comentada: Cris LaPierre el 19 de Abr. de 2024 a las 13:32
I just read the book " Wireless Power Transfer for Electric Vehicles: Foundation and Design Approach- Springer", and followed the instructions in it, then I downloaded and ran the main.m file, I got an error problem like in the picture above, can I help with this solution, so that the program can work?

Respuestas (1)

Cris LaPierre
Cris LaPierre el 15 de Abr. de 2024 a las 0:42
The error means that MATLAB cannot find the jpg file the code is trying to load.
The fix is to either place the file in the current folder, or include the full path to the file in the file name.
  3 comentarios
Eko
Eko el 19 de Abr. de 2024 a las 1:07
Thanks a lot for the answer.
actually, I got this file from https://www.mathworks.com/matlabcentral/fileexchange/46846-main-m , after read it book. I want to use this program to run a simulation according to the instructions from the book. Can I be helped to get a more perfect program so that it can be simulated?
Cris LaPierre
Cris LaPierre el 19 de Abr. de 2024 a las 13:32
I suspect the intent if for you to replace 'input_sat_image.jpg' with the name of your satellite image.
Any feedback about the code should be given to the submission author using the Discussion tab on the page you linked to.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by