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 comentarios

Tommy
Tommy el 6 de Abr. de 2020
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 el 6 de Abr. de 2020
Oh thank you sooo much!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Manage Products en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 6 de Abr. de 2020

Comentada:

el 6 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by