MATLAB Answers

Nino
0

linkdata issue

Asked by 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

  0 Comments

Sign in to comment.

Tags

1 Answer

Walter Roberson
Answer by 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.

  0 Comments

Sign in to comment.