What does the error ??? Error while evaluating uicontrol Callback???? indicate in MATLAB

1 view (last 30 days)
I am trying to load an image using grabit and recieve this error
??? Error while evaluating uicontrol Callback????
when I click the load image button. Please advise.
  1 Comment
Geoff Hayes
Geoff Hayes on 25 Sep 2014
Jeremy - is this the same grabit from the File Exchange at http://www.mathworks.com/matlabcentral/fileexchange/7173-grabit? Does this error message occur as soon as you click on the Load Image... button or upon selecting a file? I downloaded the grabit.m file and was able to load an image.

Sign in to comment.

Answers (1)

Jan
Jan on 27 Sep 2014
Please post a complete copy of the error message.
The debugger is the pefect tool to examine errors and their reasons. Read the corresponding documentation, e.g. startin from doc dbstop. Type e.g. this in the command line:
dbstop if error
and run the code again. Now Matlab stops when an error occurres and you can examine the locally used variables.
Based on the lean contents of your question only, it is impossible to guess the cause of the error.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!