linkdata issue

7 views (last 30 days)
Nino
Nino on 9 Jun 2011
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
'double'.
Error in ==> clf at 66
linkDataState = linkdata(fig);
Error in ==> newplot>ObserveFigureNextPlot at 101
clf(fig, hsave);
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.
Nino

Answers (1)

Walter Roberson
Walter Roberson on 9 Jun 2011
Try
which -all linkdata
In 2008b it is under toolbox/matlab/datamanager/linkdata.m
If it doesn't exist then your installation would seem to be corrupt.

Categories

Find more on Image Processing Toolbox 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!