Undefined function 'iptcheckhandle' for input arguments of type 'cell'.

1 view (last 30 days)
Hi all,
I am trying to find the position of the mouse pointer in an image. I am using MATLAB Version: 8.1.0.604 (R2013a).
I am having problems with impixel info. When I try to run impixelinfo from the help example:
h = imshow('hestain.png');
hp = impixelinfo;
set(hp,'Position',[5 1 300 20]);
figure
subplot(1,2,1), imshow('liftingbody.png');
subplot(1,2,2), imshow('autumn.tif');
impixelinfo
I get the error:
Undefined function 'iptcheckhandle' for input arguments of type 'cell'.
Error in impixelinfoval (line 41)
iptcheckhandle(parent,{'figure','uipanel','uicontainer'},mfilename, ...
Error in impixelinfo/createPanel (line 134)
hPixelInfoValue = impixelinfoval(hPixInfoPanel,imageHandles);
Error in impixelinfo (line 77)
hPixInfoPanel = createPanel;
So it seems that I am missing some functions. I tried to install a newer version 2014b and I find the same problem. Any help or suggestions would be greatly appreciated.
Cheers
  2 Comments
per isakson
per isakson on 6 Dec 2014
The example runs fine here. With R2013a
>> which iptcheckhandle
C:\Program Files\MATLAB\R2013a\toolbox\shared\imageslib\iptcheckhandle.m
What does
>> which iptcheckhandle
return on your system?
Edgar
Edgar on 8 Dec 2014
Hi isakson,
Thanks for your reply. When I run
which iptcheckhandle
I get:
'iptcheckhandle' not found.
Any suggestions?
Thanks again

Sign in to comment.

Accepted Answer

Edgar
Edgar on 8 Dec 2014
It was a path problem. In my case, the solution was to reset the pathdef to default and problem solved!
  1 Comment
Bryan
Bryan on 4 Aug 2015
Thanks for the update on that! Mine wasn't working even though I had just done a fresh reinstall of MATLAB and all the relevant toolboxes. For some reason it didn't set the paths correctly when I installed it. This was on two different versions of MATLAB. It seems strange that the path setting on a fresh install is different from the default path setting. Seems to be a bug in the installer.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!