[81c116]: / figure1_CloseRequestFcn.m

Download this file

22 lines (16 with data), 815 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
% --- Executes when user attempts to close figure1.
function figure1_CloseRequestFcn(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)
% Update the Message Bar
handles.Message_Bar.String = 'Saving Results in Process...';
% Update the Threshold based on the new end values of the slider, stops any
% running timers, update box locations
script_update_Threshold_and_display;
% Remove these helper folders
rmpath 'envelope helpers' 'PolarRectangularConv0' 'helpers'
% Hint: delete(hObject) closes the figure
delete(hObject);
fprintf('Compelted\n');
end