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 件のコメント

Tommy
Tommy 2020 年 4 月 6 日
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 ExchangeManage 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