Respuesta aceptada

Matthew Eicholtz
Matthew Eicholtz el 8 de Mzo. de 2016
Editada: Matthew Eicholtz el 8 de Mzo. de 2016

1 voto

It looks from your screenshot that you named your script 'image.m', is that correct? If so, try changing that filename because you may be causing problems with the built-in MATLAB function called 'image'.
In general, try to steer clear of calling variables or files by names that MATLAB uses for other things.

1 comentario

piyanat chansong
piyanat chansong el 8 de Mzo. de 2016
Thank you so much, I just found out that I have a filename "image.m" in my matlab folder and I finally deleted it, now imshow works.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by