i have an error in imshow

Answers (2)

Walter Roberson
Walter Roberson on 22 May 2022
There are three possibilities:
  • you might have a corrupted MATLAB installation
  • you might have a file named Image.m on your path but you are using a file system that is set to case-insensitive (which is the most common setting for NTFS file systems)
  • you might have your MATLAB installed on a DOS file system that is so very old that it predates case-sensitivity and only has uppercase file names
DGM
DGM on 22 May 2022
Edited: DGM on 22 May 2022
You likely have a user-created file called image.m somewhere on the path. You can try to see what is on the path by doing
which image -all
built-in (/MATLAB/toolbox/matlab/specgraph/image)
If it shows some other non-MATLAB file, either rename it or move it off the path somewhere.

Categories

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

Products

Release

R2009a

Asked:

on 22 May 2022

Edited:

DGM
on 22 May 2022

Community Treasure Hunt

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

Start Hunting!