(Dull formatting in th forum, this is 4.!) This means, that the function "PushButton" is called with the 2 inputs of the anonymous function and as 3rd input the current value of the handles struct is obatined from the figure.
To reduce the levels of indirection and for simplicity this might be a valid callback also:
You need to put a static text label on your GUI with a tag of txtValue (or whatever you want). Then in each callback where you want to change handles.value you need to have this:
handles.value = handles.value + 80; % Or whatever value you want.
handles.txtValue.String = sprintf('The Value now = %.1f', handle.value);
% Update handles structure
guidata(hObject, handles); % Not calling this was your problem.
Best Answer