imshow does not work in 2016a

 Accepted Answer

Matthew Eicholtz
Matthew Eicholtz on 8 Mar 2016
Edited: Matthew Eicholtz on 8 Mar 2016
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 Comment

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.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!