imread error when using it

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.
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