I get the following error when i tried to used imshow.
Previously it was working. I tried with other system its working. I tried with different images too. but only with my system it shows this error.
A = imread('rone.bmp');
figure;
imshow(A)
??? Attempt to call constructor image with incorrect letter case.
Error in ==> basicImageDisplay at 9
hh = image(xdata,ydata,cdata, ...
Error in ==> imshow at 246
hh = basicImageDisplay(fig_handle,ax_handle,...
can i know is there a problem with matlab?? Do i need to reinstall?

2 Comments

Andreas Goser
Andreas Goser on 16 May 2012
This is not a problem I could find in the database. Does this happen with all image files or just with this one? In any case, this looks like a good reason to contact Technical Support
Amishi
Amishi on 16 May 2012
This happens only with my laptop and with all images. In another PC with same images it works.

Sign in to comment.

 Accepted Answer

Walter Roberson
Walter Roberson on 16 May 2012

0 votes

7 Comments

Amishi
Amishi on 16 May 2012
I have checked the thread but my directory folder name is not of any built in function name and this happens only with my laptop.
Even when I use command prompt. If I follow same procedure in another PC it works fine.
Amishi
Amishi on 16 May 2012
I renamed my mfile name again and now it works thanks
diksha
diksha on 26 Feb 2014
plz give me solution of this problem because i also face this problem.
It was given. Read this page again. What does it say for you when you do
>> which image -all
Does it say this:
built-in (C:\Program Files (x86)\MATLAB\R2013b\toolbox\matlab\specgraph\image)
or are there other files listed? What does
whos image
say if you put that right before your call to imshow()?
Ouden Aymane
Ouden Aymane on 20 Nov 2016
Me to I have this problme but I can't result why I do ? hh = image(xdata,ydata,cdata, ... Error in ==> imshow at 246
Image Analyst
Image Analyst on 20 Nov 2016
Start your own question and tell us what the variables are and show us the entire error message ( ALL the red text), not just part of it.
Ayushi Bapna
Ayushi Bapna on 5 Sep 2018
Error in images.internal.basicImageDisplay (line 24) hh = image(cdata, ...
Error in imshow (line 320) hh = images.internal.basicImageDisplay(fig_handle,ax_handle,...

Sign in to comment.

More Answers (2)

Jan
Jan on 16 May 2012

0 votes

Did you create an object called "Image"? What does "which image -all" reply?

3 Comments

Amishi
Amishi on 16 May 2012
which image-all gives image-all not found.
but thanks its working now
Image Analyst
Image Analyst on 26 Feb 2014
You need a space between "image" and "-all" like Jan showed. You did not put a space.
Akshay Datar
Akshay Datar on 14 Jul 2016
Thank u so much. I stuck at that error since last hour and now its working.

Sign in to comment.

Ella
Ella on 20 Jul 2015

0 votes

Can you please provide the solution steps ? Im getting the same error previously it was working fine and now doesnt work on my laptop anymore
Thanks for your reply in advance

1 Comment

Stalin Samuel
Stalin Samuel on 20 Jul 2015
rename the folders with some other name

Sign in to comment.

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!