Hi, I'm trying to show an image in matlab using imshow command. This command works very well if I only use it one time, but if I try to use it more than one time w/out close the previous image an error appears. For example: If I show
>> ankle = dicomread('CT-MONO2-16-ankle.dcm'); >> imshow(ankle)
% the image is shown correctly, but if I try to show the image with the brightness modified
>> imshow(ankle, )
I get the next message:
??? Undefined function or method 'linkdata' for input arguments of type
Error in ==> clf at 66
linkDataState = linkdata(fig);
Error in ==> newplot>ObserveFigureNextPlot at 101
Error in ==> newplot at 65
fig = ObserveFigureNextPlot(fig, hsave);
Error in ==> imshow at 233
ax_handle = newplot;
the modification of the brightness is only an example, I could type the exactly same instruction to show the image (>>imshow(ankle)) and I get the same message.
I'm using the version 2010a in linux but I have never get this problem before in any other system or with any other version of matlab.
I will really appreciate your help.