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 个评论

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

请先登录,再进行评论。

 采纳的回答

Walter Roberson
Walter Roberson 2012-5-16

0 个投票

7 个评论

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.
I renamed my mfile name again and now it works thanks
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()?
Me to I have this problme but I can't result why I do ? hh = image(xdata,ydata,cdata, ... Error in ==> imshow at 246
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.
Error in images.internal.basicImageDisplay (line 24) hh = image(cdata, ...
Error in imshow (line 320) hh = images.internal.basicImageDisplay(fig_handle,ax_handle,...

请先登录,再进行评论。

更多回答(2 个)

Jan
Jan 2012-5-16

0 个投票

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

3 个评论

which image-all gives image-all not found.
but thanks its working now
You need a space between "image" and "-all" like Jan showed. You did not put a space.
Thank u so much. I stuck at that error since last hour and now its working.

请先登录,再进行评论。

Ella
Ella 2015-7-20

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by