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 Kommentare

Andreas Goser
Andreas Goser am 16 Mai 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 am 16 Mai 2012
This happens only with my laptop and with all images. In another PC with same images it works.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Mai 2012

0 Stimmen

7 Kommentare

Amishi
Amishi am 16 Mai 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 am 16 Mai 2012
I renamed my mfile name again and now it works thanks
diksha
diksha am 26 Feb. 2014
plz give me solution of this problem because i also face this problem.
Image Analyst
Image Analyst am 26 Feb. 2014
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 am 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 am 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 am 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,...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Jan
Jan am 16 Mai 2012

0 Stimmen

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Ella
Ella am 20 Jul. 2015

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by