i have an error in imshow
Show older comments
Answers (2)
Walter Roberson
on 22 May 2022
0 votes
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
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
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!