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

40 views (last 30 days)

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.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

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!