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?

답변 (1개)

Cris LaPierre
Cris LaPierre 2024년 4월 15일

0 개 추천

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

Cris LaPierre
Cris LaPierre 2024년 4월 15일
편집: Steven Lord 2024년 4월 15일
Eko
Eko 2024년 4월 19일
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 2024년 4월 19일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

질문:

Eko
2024년 4월 15일

댓글:

2024년 4월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by