Someone can help me about this error

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?

Réponses (1)

Cris LaPierre
Cris LaPierre le 15 Avr 2024

0 votes

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 commentaires

Cris LaPierre
Cris LaPierre le 15 Avr 2024
Modifié(e) : Steven Lord le 15 Avr 2024
Eko
Eko le 19 Avr 2024
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 le 19 Avr 2024
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.

Connectez-vous pour commenter.

Catégories

Tags

Question posée :

Eko
le 15 Avr 2024

Commenté :

le 19 Avr 2024

Community Treasure Hunt

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

Start Hunting!

Translated by