I am trying to use imread('image.jpg') to an image but the error that occurs is
Error: File: imread.m Line: 576 Column: 1
This statement is not inside any function.
(It follows the END that terminates the definition of
the function "get_full_filename".)
I don't know what to do I have tried it with different images.
What can I do ?

댓글 수: 2

Did you happen to edit the file imread.m?
Type
open imread
in the command window to open imread.m, and then scroll to the bottom. The 'end' in Line 575 should be the last text in the file.
jb2503
jb2503 2020년 4월 6일
Oh thank you sooo much!

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

답변 (0개)

카테고리

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

제품

질문:

2020년 4월 6일

댓글:

2020년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by