% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%%Jesli radio1 jest zaznaczone to obliczy deformacje pomiaru 0-N
%%Obliczanie Obniżeń
[num,txt]=xlsread('dane0.xlsx');num(isnan(num))=00;x=numset(handles.tabela0,'data',x);x=get(handles.tabela0,'data');w=x(:,3)-x(:,2);wpoz=x(1:end,1);calosc=[wpoz w]set(handles.tabelaw,'data',calosc);x=get(handles.tabela0,'data');wykresww = findobj('Tag', 'axes1');plot(wykresww,calosc(1:2:end,1),calosc(1:2:end,2));
After clicking Run, and click in pushbutton2 I have results but If I click again in pushbutton2 I have error:
Best Answer