Akzeptierte Antwort

Matthew Eicholtz
Matthew Eicholtz am 8 Mär. 2016
Bearbeitet: Matthew Eicholtz am 8 Mär. 2016

1 Stimme

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 Kommentar

piyanat chansong
piyanat chansong am 8 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by