1 | function varargout = configBPMgui(varargin) |
---|
2 | % CONFIGBPMGUI M-file for configBPMgui.fig |
---|
3 | % CONFIGBPMGUI, by itself, creates a new CONFIGBPMGUI or raises the existing |
---|
4 | % singleton*. |
---|
5 | % |
---|
6 | % H = CONFIGBPMGUI returns the handle to a new CONFIGBPMGUI or the handle to |
---|
7 | % the existing singleton*. |
---|
8 | % |
---|
9 | % CONFIGBPMGUI('CALLBACK',hObject,eventData,handles,...) calls the local |
---|
10 | % function named CALLBACK in CONFIGBPMGUI.M with the given input arguments. |
---|
11 | % |
---|
12 | % CONFIGBPMGUI('Property','Value',...) creates a new CONFIGBPMGUI or raises the |
---|
13 | % existing singleton*. Starting from the left, property value pairs are |
---|
14 | % applied to the GUI before configBPMgui_OpeningFunction gets called. An |
---|
15 | % unrecognized property name or invalid value makes property application |
---|
16 | % stop. All inputs are passed to configBPMgui_OpeningFcn via varargin. |
---|
17 | % |
---|
18 | % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one |
---|
19 | % instance to run (singleton)". |
---|
20 | % |
---|
21 | % See also: GUIDE, GUIDATA, GUIHANDLES |
---|
22 | |
---|
23 | % Copyright 2002-2003 The MathWorks, Inc. |
---|
24 | |
---|
25 | % Edit the above text to modify the response to help configBPMgui |
---|
26 | |
---|
27 | % Last Modified by GUIDE v2.5 09-Sep-2005 17:57:20 |
---|
28 | |
---|
29 | % Begin initialization code - DO NOT EDIT |
---|
30 | gui_Singleton = 1; |
---|
31 | gui_State = struct('gui_Name', mfilename, ... |
---|
32 | 'gui_Singleton', gui_Singleton, ... |
---|
33 | 'gui_OpeningFcn', @configBPMgui_OpeningFcn, ... |
---|
34 | 'gui_OutputFcn', @configBPMgui_OutputFcn, ... |
---|
35 | 'gui_LayoutFcn', [] , ... |
---|
36 | 'gui_Callback', []); |
---|
37 | if nargin && ischar(varargin{1}) |
---|
38 | gui_State.gui_Callback = str2func(varargin{1}); |
---|
39 | end |
---|
40 | |
---|
41 | if nargout |
---|
42 | [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); |
---|
43 | else |
---|
44 | gui_mainfcn(gui_State, varargin{:}); |
---|
45 | end |
---|
46 | % End initialization code - DO NOT EDIT |
---|
47 | |
---|
48 | |
---|
49 | % --- Executes just before configBPMgui is made visible. |
---|
50 | function configBPMgui_OpeningFcn(hObject, eventdata, handles, varargin) |
---|
51 | % This function has no output args, see OutputFcn. |
---|
52 | % hObject handle to figure |
---|
53 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
54 | % handles structure with handles and user data (see GUIDATA) |
---|
55 | % varargin command line arguments to configBPMgui (see VARARGIN) |
---|
56 | |
---|
57 | % Choose default command line output for configBPMgui |
---|
58 | handles.output = hObject; |
---|
59 | |
---|
60 | % Update handles structure |
---|
61 | guidata(hObject, handles); |
---|
62 | |
---|
63 | % UIWAIT makes configBPMgui wait for user response (see UIRESUME) |
---|
64 | % uiwait(handles.figure1); |
---|
65 | |
---|
66 | |
---|
67 | % --- Outputs from this function are returned to the command line. |
---|
68 | function varargout = configBPMgui_OutputFcn(hObject, eventdata, handles) |
---|
69 | % varargout cell array for returning output args (see VARARGOUT); |
---|
70 | % hObject handle to figure |
---|
71 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
72 | % handles structure with handles and user data (see GUIDATA) |
---|
73 | |
---|
74 | % Get default command line output from handles structure |
---|
75 | varargout{1} = handles.output; |
---|
76 | |
---|
77 | |
---|
78 | % --- Executes on button press in checkbox_BPM1. |
---|
79 | function checkbox_BPM1_Callback(hObject, eventdata, handles) |
---|
80 | % hObject handle to checkbox_BPM1 (see GCBO) |
---|
81 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
82 | % handles structure with handles and user data (see GUIDATA) |
---|
83 | |
---|
84 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM1 |
---|
85 | |
---|
86 | |
---|
87 | % --- Executes on button press in checkbox_BPM2. |
---|
88 | function checkbox_BPM2_Callback(hObject, eventdata, handles) |
---|
89 | % hObject handle to checkbox_BPM2 (see GCBO) |
---|
90 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
91 | % handles structure with handles and user data (see GUIDATA) |
---|
92 | |
---|
93 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM2 |
---|
94 | |
---|
95 | |
---|
96 | % --- Executes on button press in checkbox_BPM3. |
---|
97 | function checkbox_BPM3_Callback(hObject, eventdata, handles) |
---|
98 | % hObject handle to checkbox_BPM3 (see GCBO) |
---|
99 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
100 | % handles structure with handles and user data (see GUIDATA) |
---|
101 | |
---|
102 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM3 |
---|
103 | |
---|
104 | |
---|
105 | % --- Executes on button press in checkbox_BPM4. |
---|
106 | function checkbox_BPM4_Callback(hObject, eventdata, handles) |
---|
107 | % hObject handle to checkbox_BPM4 (see GCBO) |
---|
108 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
109 | % handles structure with handles and user data (see GUIDATA) |
---|
110 | |
---|
111 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM4 |
---|
112 | |
---|
113 | |
---|
114 | % --- Executes on button press in checkbox_BPM5. |
---|
115 | function checkbox_BPM5_Callback(hObject, eventdata, handles) |
---|
116 | % hObject handle to checkbox_BPM5 (see GCBO) |
---|
117 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
118 | % handles structure with handles and user data (see GUIDATA) |
---|
119 | |
---|
120 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM5 |
---|
121 | |
---|
122 | |
---|
123 | % --- Executes on button press in checkbox_BPM6. |
---|
124 | function checkbox_BPM6_Callback(hObject, eventdata, handles) |
---|
125 | % hObject handle to checkbox_BPM6 (see GCBO) |
---|
126 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
127 | % handles structure with handles and user data (see GUIDATA) |
---|
128 | |
---|
129 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM6 |
---|
130 | |
---|
131 | |
---|
132 | % --- Executes on button press in BPM7_checkbox. |
---|
133 | function BPM7_checkbox_Callback(hObject, eventdata, handles) |
---|
134 | % hObject handle to BPM7_checkbox (see GCBO) |
---|
135 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
136 | % handles structure with handles and user data (see GUIDATA) |
---|
137 | |
---|
138 | % Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox |
---|
139 | |
---|
140 | |
---|
141 | % --- Executes on selection change in popupmenu_command. |
---|
142 | function popupmenu_command_Callback(hObject, eventdata, handles) |
---|
143 | % hObject handle to popupmenu_command (see GCBO) |
---|
144 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
145 | % handles structure with handles and user data (see GUIDATA) |
---|
146 | |
---|
147 | % Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array |
---|
148 | % contents{get(hObject,'Value')} returns selected item from popupmenu_command |
---|
149 | |
---|
150 | |
---|
151 | % --- Executes during object creation, after setting all properties. |
---|
152 | function popupmenu_command_CreateFcn(hObject, eventdata, handles) |
---|
153 | % hObject handle to popupmenu_command (see GCBO) |
---|
154 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
155 | % handles empty - handles not created until after all CreateFcns called |
---|
156 | |
---|
157 | % Hint: popupmenu controls usually have a white background on Windows. |
---|
158 | % See ISPC and COMPUTER. |
---|
159 | if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) |
---|
160 | set(hObject,'BackgroundColor','white'); |
---|
161 | end |
---|
162 | |
---|
163 | |
---|
164 | % --- Executes on button press in pushbutton_command. |
---|
165 | function pushbutton_command_Callback(hObject, eventdata, handles) |
---|
166 | % hObject handle to pushbutton_command (see GCBO) |
---|
167 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
168 | % handles structure with handles and user data (see GUIDATA) |
---|
169 | |
---|
170 | |
---|
171 | % --- Executes on button press in checkbox_selectall. |
---|
172 | function checkbox_selectall_Callback(hObject, eventdata, handles) |
---|
173 | % hObject handle to checkbox_selectall (see GCBO) |
---|
174 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
175 | % handles structure with handles and user data (see GUIDATA) |
---|
176 | |
---|
177 | % Hint: get(hObject,'Value') returns toggle state of checkbox_selectall |
---|
178 | |
---|
179 | |
---|
180 | % --- Executes on button press in checkbox_selectnone. |
---|
181 | function checkbox_selectnone_Callback(hObject, eventdata, handles) |
---|
182 | % hObject handle to checkbox_selectnone (see GCBO) |
---|
183 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
184 | % handles structure with handles and user data (see GUIDATA) |
---|
185 | |
---|
186 | % Hint: get(hObject,'Value') returns toggle state of checkbox_selectnone |
---|
187 | |
---|
188 | |
---|
189 | |
---|
190 | function edit1_Callback(hObject, eventdata, handles) |
---|
191 | % hObject handle to edit1 (see GCBO) |
---|
192 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
193 | % handles structure with handles and user data (see GUIDATA) |
---|
194 | |
---|
195 | % Hints: get(hObject,'String') returns contents of edit1 as text |
---|
196 | % str2double(get(hObject,'String')) returns contents of edit1 as a double |
---|
197 | |
---|
198 | |
---|
199 | % --- Executes during object creation, after setting all properties. |
---|
200 | function edit1_CreateFcn(hObject, eventdata, handles) |
---|
201 | % hObject handle to edit1 (see GCBO) |
---|
202 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
203 | % handles empty - handles not created until after all CreateFcns called |
---|
204 | |
---|
205 | % Hint: edit controls usually have a white background on Windows. |
---|
206 | % See ISPC and COMPUTER. |
---|
207 | if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) |
---|
208 | set(hObject,'BackgroundColor','white'); |
---|
209 | end |
---|
210 | |
---|
211 | |
---|
212 | % --- Executes on selection change in popupmenu_mode. |
---|
213 | function popupmenu_mode_Callback(hObject, eventdata, handles) |
---|
214 | % hObject handle to popupmenu_mode (see GCBO) |
---|
215 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
216 | % handles structure with handles and user data (see GUIDATA) |
---|
217 | |
---|
218 | % Hints: contents = get(hObject,'String') returns popupmenu_mode contents as cell array |
---|
219 | % contents{get(hObject,'Value')} returns selected item from popupmenu_mode |
---|
220 | |
---|
221 | |
---|
222 | % --- Executes during object creation, after setting all properties. |
---|
223 | function popupmenu_mode_CreateFcn(hObject, eventdata, handles) |
---|
224 | % hObject handle to popupmenu_mode (see GCBO) |
---|
225 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
226 | % handles empty - handles not created until after all CreateFcns called |
---|
227 | |
---|
228 | % Hint: popupmenu controls usually have a white background on Windows. |
---|
229 | % See ISPC and COMPUTER. |
---|
230 | if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) |
---|
231 | set(hObject,'BackgroundColor','white'); |
---|
232 | end |
---|
233 | |
---|
234 | |
---|
235 | % --- Executes on button press in pushbutton_refresh. |
---|
236 | function pushbutton_refresh_Callback(hObject, eventdata, handles) |
---|
237 | % hObject handle to pushbutton_refresh (see GCBO) |
---|
238 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
239 | % handles structure with handles and user data (see GUIDATA) |
---|
240 | |
---|
241 | |
---|
242 | % --- Executes on button press in checkbox_BPM12. |
---|
243 | function checkbox_BPM12_Callback(hObject, eventdata, handles) |
---|
244 | % hObject handle to checkbox_BPM12 (see GCBO) |
---|
245 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
246 | % handles structure with handles and user data (see GUIDATA) |
---|
247 | |
---|
248 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM12 |
---|
249 | |
---|
250 | |
---|
251 | % --- Executes on button press in checkbox_BPM13. |
---|
252 | function checkbox_BPM13_Callback(hObject, eventdata, handles) |
---|
253 | % hObject handle to checkbox_BPM13 (see GCBO) |
---|
254 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
255 | % handles structure with handles and user data (see GUIDATA) |
---|
256 | |
---|
257 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM13 |
---|
258 | |
---|
259 | |
---|
260 | % --- Executes on button press in checkbox_BPM14. |
---|
261 | function checkbox_BPM14_Callback(hObject, eventdata, handles) |
---|
262 | % hObject handle to checkbox_BPM14 (see GCBO) |
---|
263 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
264 | % handles structure with handles and user data (see GUIDATA) |
---|
265 | |
---|
266 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM14 |
---|
267 | |
---|
268 | |
---|
269 | % --- Executes on button press in checkbox_BPM15. |
---|
270 | function checkbox_BPM15_Callback(hObject, eventdata, handles) |
---|
271 | % hObject handle to checkbox_BPM15 (see GCBO) |
---|
272 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
273 | % handles structure with handles and user data (see GUIDATA) |
---|
274 | |
---|
275 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM15 |
---|
276 | |
---|
277 | |
---|
278 | % --- Executes on button press in checkbox_BPM16. |
---|
279 | function checkbox_BPM16_Callback(hObject, eventdata, handles) |
---|
280 | % hObject handle to checkbox_BPM16 (see GCBO) |
---|
281 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
282 | % handles structure with handles and user data (see GUIDATA) |
---|
283 | |
---|
284 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM16 |
---|
285 | |
---|
286 | |
---|
287 | % --- Executes on button press in checkbox15. |
---|
288 | function checkbox15_Callback(hObject, eventdata, handles) |
---|
289 | % hObject handle to checkbox15 (see GCBO) |
---|
290 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
291 | % handles structure with handles and user data (see GUIDATA) |
---|
292 | |
---|
293 | % Hint: get(hObject,'Value') returns toggle state of checkbox15 |
---|
294 | |
---|
295 | |
---|
296 | % --- Executes on button press in checkbox16. |
---|
297 | function checkbox16_Callback(hObject, eventdata, handles) |
---|
298 | % hObject handle to checkbox16 (see GCBO) |
---|
299 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
300 | % handles structure with handles and user data (see GUIDATA) |
---|
301 | |
---|
302 | % Hint: get(hObject,'Value') returns toggle state of checkbox16 |
---|
303 | |
---|
304 | |
---|
305 | % --- Executes on button press in checkbox_BPM7. |
---|
306 | function checkbox_BPM7_Callback(hObject, eventdata, handles) |
---|
307 | % hObject handle to checkbox_BPM7 (see GCBO) |
---|
308 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
309 | % handles structure with handles and user data (see GUIDATA) |
---|
310 | |
---|
311 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM7 |
---|
312 | |
---|
313 | |
---|
314 | % --- Executes on button press in checkbox_BPM8. |
---|
315 | function checkbox_BPM8_Callback(hObject, eventdata, handles) |
---|
316 | % hObject handle to checkbox_BPM8 (see GCBO) |
---|
317 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
318 | % handles structure with handles and user data (see GUIDATA) |
---|
319 | |
---|
320 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM8 |
---|
321 | |
---|
322 | |
---|
323 | % --- Executes on button press in checkbox_BPM9. |
---|
324 | function checkbox_BPM9_Callback(hObject, eventdata, handles) |
---|
325 | % hObject handle to checkbox_BPM9 (see GCBO) |
---|
326 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
327 | % handles structure with handles and user data (see GUIDATA) |
---|
328 | |
---|
329 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM9 |
---|
330 | |
---|
331 | |
---|
332 | % --- Executes on button press in checkbox_BPM20. |
---|
333 | function checkbox_BPM20_Callback(hObject, eventdata, handles) |
---|
334 | % hObject handle to checkbox_BPM20 (see GCBO) |
---|
335 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
336 | % handles structure with handles and user data (see GUIDATA) |
---|
337 | |
---|
338 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20 |
---|
339 | |
---|
340 | |
---|
341 | % --- Executes on button press in checkbox_BPM11. |
---|
342 | function checkbox_BPM11_Callback(hObject, eventdata, handles) |
---|
343 | % hObject handle to checkbox_BPM11 (see GCBO) |
---|
344 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
345 | % handles structure with handles and user data (see GUIDATA) |
---|
346 | |
---|
347 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM11 |
---|
348 | |
---|
349 | |
---|
350 | % --- Executes on button press in checkbox_BPM18. |
---|
351 | function checkbox_BPM18_Callback(hObject, eventdata, handles) |
---|
352 | % hObject handle to checkbox_BPM18 (see GCBO) |
---|
353 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
354 | % handles structure with handles and user data (see GUIDATA) |
---|
355 | |
---|
356 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM18 |
---|
357 | |
---|
358 | |
---|
359 | % --- Executes on button press in checkbox_BPM19. |
---|
360 | function checkbox_BPM19_Callback(hObject, eventdata, handles) |
---|
361 | % hObject handle to checkbox_BPM19 (see GCBO) |
---|
362 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
363 | % handles structure with handles and user data (see GUIDATA) |
---|
364 | |
---|
365 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM19 |
---|
366 | |
---|
367 | |
---|
368 | % --- Executes on button press in checkbox_BPM20. |
---|
369 | function checkbox25_Callback(hObject, eventdata, handles) |
---|
370 | % hObject handle to checkbox_BPM20 (see GCBO) |
---|
371 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
372 | % handles structure with handles and user data (see GUIDATA) |
---|
373 | |
---|
374 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20 |
---|
375 | |
---|
376 | |
---|
377 | % --- Executes on button press in checkbox_BPM21. |
---|
378 | function checkbox_BPM21_Callback(hObject, eventdata, handles) |
---|
379 | % hObject handle to checkbox_BPM21 (see GCBO) |
---|
380 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
381 | % handles structure with handles and user data (see GUIDATA) |
---|
382 | |
---|
383 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM21 |
---|
384 | |
---|
385 | |
---|
386 | % --- Executes on button press in checkbox_BPM22. |
---|
387 | function checkbox_BPM22_Callback(hObject, eventdata, handles) |
---|
388 | % hObject handle to checkbox_BPM22 (see GCBO) |
---|
389 | % eventdata reserved - to be defined in a future version of MATLAB |
---|
390 | % handles structure with handles and user data (see GUIDATA) |
---|
391 | |
---|
392 | % Hint: get(hObject,'Value') returns toggle state of checkbox_BPM22 |
---|
393 | |
---|
394 | |
---|