imshow does not work in 2016a

1 view (last 30 days)
Please help me out, I cannot finish my project with these imshow error

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
piyanat chansong
piyanat chansong on 8 Mar 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Source Control 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!