function pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)a1=str2num(get(handles.edit1,"string"));a2=str2double(get(handles.edit2,"string"));a3=str2double(get(handles.edit3,"string"));a4=m(a1,a2,a3);set(handles.text2,"string",num2str(a4));set(handles.text2,"string",num2str(a4));m檔案function a4=m(a1,a2,a3)syms x a4=int(a1,x,a3,a2);
function pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)a1=str2num(get(handles.edit1,"string"));a2=str2double(get(handles.edit2,"string"));a3=str2double(get(handles.edit3,"string"));a4=m(a1,a2,a3);set(handles.text2,"string",num2str(a4));set(handles.text2,"string",num2str(a4));m檔案function a4=m(a1,a2,a3)syms x a4=int(a1,x,a3,a2);