From c985fc7b2c64e80af3afe40b1f8811481877db87 Mon Sep 17 00:00:00 2001 From: Mi Zhang Date: Mon, 17 Sep 2012 14:19:43 -0400 Subject: deleted unused functions --- gui_win.m | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/gui_win.m b/gui_win.m index e17e9d0..23b8910 100644 --- a/gui_win.m +++ b/gui_win.m @@ -577,31 +577,6 @@ end; - -% --- Executes during object creation, after setting all properties. -function figure1_CreateFcn(hObject, eventdata, handles) -% hObject handle to figure1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles empty - handles not created until after all CreateFcns called - -% Add the current directory to the path, as the pwd might change thru' the -% gui. Remove the directory from the path when gui is closed -% (See figure1_DeleteFcn) -setappdata(hObject, 'StartPath', pwd); -addpath(pwd); - - -% --- Executes during object deletion, before destroying properties. -function figure1_DeleteFcn(hObject, eventdata, handles) -% hObject handle to figure1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - -% Remove the directory added to the path in the figure1_CreateFcn. -if isappdata(hObject, 'StartPath') - rmpath(getappdata(hObject, 'StartPath')); -end - function readshutterspeed_Callback(hObject, eventdata, handles) @@ -680,21 +655,6 @@ function image2display_CreateFcn(hObject, eventdata, handles) % Hint: place code in OpeningFcn to populate image2display -% --- Executes on button press in checkbox1. -function checkbox1_Callback(hObject, eventdata, handles) -% hObject handle to checkbox1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - -% Hint: get(hObject,'Value') returns toggle state of checkbox1 - - -% --- Executes on button press in pushbutton7. -function pushbutton7_Callback(hObject, eventdata, handles) -% hObject handle to pushbutton7 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - function readstrength_Callback(hObject, eventdata, handles) @@ -818,7 +778,6 @@ function showcross_Callback(hObject, eventdata, handles) global image_display; global image_cross; global image_negative; -global image_original; global background_m; if get(handles.button2substract,'Value') > 0 image_display = image_display - background_m; -- cgit v1.2.3