when i push a button, getappdata on a push button callback function does not work, can anyone help me please?
function stopbutton_Callback(hObject, eventdata, handles)
% hObject handle to stopbutton (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%t=toc;
current = getappdata(0, 'current') ;
current
global timerx;
timery = timerx;
stop(timery)
t = 0;
formttt='%d%d:%0.2f';
t=datevec(t/86400);
s=strrep(sprintf(formttt,t),': ',':0');
global zamanx;