MATLAB Answers

Why do I get the error message 'Error when evaluating uicontrol Callback?

8 views (last 30 days)
Why do I get the following error message:
Error when evaluating uicontrol Callback.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Feb 2012
Explanation:
A callback function for a uicontrol in your figure or GUI has thrown an error.
Common causes:
There are many possible causes for this error. The line above simply identifies that the error is located in a uicontrol's callback function.
Solution:
The section of the error message that follows the line above will explain the cause of the error. Debug the callback function based on the second portion of the error message returned from MATLAB.

  0 Comments

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!