[81c116]: / Ultrasound_Analyse_OpeningFcn.m

Download this file

29 lines (23 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% --- Executes just before Ultrasound_Analyse is made visible.
function Ultrasound_Analyse_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin unrecognized PropertyName/PropertyValue pairs from the
% command line (see VARARGIN)
% Script to initialize the variables
set_the_variables_update_handles;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes Ultrasound_Analyse wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% If the file does not exist, close the GUI
if ~handles.simulation && ~handles.file_exist
%Close the GUI
close all force
else
% Clear the screen and print the message
fprintf('Gui Started Successfully!\n');
end
end