forked from junejing/EEGALY
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMontage_500.m
1561 lines (1216 loc) · 63.3 KB
/
Montage_500.m
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
function varargout = Montage_500(varargin)
% MONTAGE_500 MATLAB code for Montage_500.fig
% MONTAGE_500, by itself, creates a new MONTAGE_500 or raises the existing
% singleton*.
%
% H = MONTAGE_500 returns the handle to a new MONTAGE_500 or the handle to
% the existing singleton*.
%
% MONTAGE_500('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in MONTAGE_500.M with the given input arguments.
%
% MONTAGE_500('Property','Value',...) creates a new MONTAGE_500 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before Montage_500_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Montage_500_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help Montage_500
% Last Modified by GUIDE v2.5 02-Sep-2015 15:12:05
% Begin initialization code - DO NOT EDIT
%disp(varargin)显示的是空
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @Montage_500_OpeningFcn, ...
'gui_OutputFcn', @Montage_500_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before Montage_500 is made visible.
function Montage_500_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 command line arguments to Montage_500 (see VARARGIN)
% Choose default command line output for Montage_500
set(0,'CurrentFigure',handles.figure1);
handles.output = hObject;
load CRC_electrodes.mat;
handles.names = names;
handles.pos = pos';
handles.crc_types = crc_types;
if isempty(varargin) || ~isfield(varargin{1},'file')
% Filter for vhdr, mat and edf files
try and(isfield(varargin{1},'multcomp'), varargin{1}.multcomp)
%if the multiple comparison option is checked
prefile = spm_select(Inf, 'any', 'Select imported EEG file','' ...
,pwd,'\.[mMvVeErR][dDhHaA][fFDdTtwW]');
set(handles.uitable1,'enable','off','visible','off');
set(handles.uitable2,'enable','off','visible','off');
set(handles.score_pushbutton,'enable','off','visible','off');
set(handles.spindle_pushbutton,'enable','off','visible','off');
set(handles.filter_checkbox,'enable','off','visible','off');
set(handles.exit_pushbutton,'enable','off','visible','off');
handles.multcomp=1;
catch
prefile = spm_select(1, 'any', 'Select imported EEG file','' ... %%%%%%%%%%%显示加载数据界面
,pwd,'\.[mMvVeErR][dDhHaA][fFDdTtwW]');
handles.multcomp=0;
end
for i=1:size(prefile,1)
D{i} = crc_eeg_load(deblank(prefile(i,:)));
file = fullfile(D{i}.path,D{i}.fname);
handles.file{i} = file;
handles.chan{i} = upper(chanlabels(D{i}));
if isfield(D{i}, 'info')
try
D{i}.info.date;
catch
D{i}.info.date = [1 1 1];
end
try
D{i}.info.hour;
catch
D{i}.info.hour = [0 0 0];
end
else
D{i}.info = struct('date',[1 1 1],'hour',[0 0 0]);
end
handles.Dmeg{i} = D{i};
handles.Struct(i) = struct(D{i});
handles.date{i} = zeros(1,2);
handles.date{i}(1) = datenum([D{i}.info.date D{i}.info.hour]);
handles.date{i}(2) = handles.date{i}(1) + ...
datenum([ 0 0 0 crc_time_converts(nsamples(D{i})/ ...
fsample(D{i}))] );
handles.dates(i,:) = handles.date{i}(:);
end
datapath=path(D{i});dataname=fname(D{i});
save('Datapath','datapath','dataname');%%%存储数据的路径和完整名字
else
handles.file = varargin{1}.file;
prefile = deblank(handles.file);
index = varargin{1}.index;
for i=1:size(varargin{1}.Dmeg,2)
handles.Dmeg{i} = crc_eeg_load([path(varargin{1}.Dmeg{i}),filesep,fname(varargin{1}.Dmeg{i})]);
handles.Dmeg{i} = varargin{1}.Dmeg{i};
end
if isempty(index)
index = 1:nchannels(handles.Dmeg{1});
end
end
%if ~isempty(varargin) && isfield(varargin{1},'delmap')
% handles.delmap=varargin{1}.delmap;
%end
if (~isempty(varargin) && isfield(varargin{1},'multcomp') && varargin{1}.multcomp) || ...
isempty(varargin)
chanset=handles.chan{1};
for i=1:size(prefile,1)
chanset=intersect(chanset,handles.chan{i});
end
handles.chan=chanset;
end
handles.indmeeg = meegchannels(handles.Dmeg{1});
handles.indeeg = [meegchannels(handles.Dmeg{1},'EEG') meegchannels(handles.Dmeg{1},'LFP')];
handles.indmeg = meegchannels(handles.Dmeg{1},'MEG');
%handles.indmegplan = meegchannels(handles.Dmeg{1},'MEGPLANAR');
handles.namother = setdiff(chanlabels(handles.Dmeg{1}), chanlabels(handles.Dmeg{1},handles.indmeeg));
set(handles.Spindle_Marker,'Value',0);
MarValue=get(handles.Spindle_Marker,'Value');
save('Datapath','datapath','dataname','MarValue');
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes Montage_500 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = Montage_500_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in fp1_checkbox.
function fp1_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fp1_checkbox (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 fp1_checkbox
% --- Executes on button press in fp2_checkbox.
function fp2_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fp2_checkbox (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 fp2_checkbox
% --- Executes on button press in f3_checkbox.
function f3_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to f3_checkbox (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 f3_checkbox
% --- Executes on button press in f4_checkbox.
function f4_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to f4_checkbox (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 f4_checkbox
% --- Executes on button press in c3_checkbox.
function c3_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to c3_checkbox (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 c3_checkbox
% --- Executes on button press in c4_checkbox.
function c4_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to c4_checkbox (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 c4_checkbox
% --- Executes on button press in p3_checkbox.
function p3_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to p3_checkbox (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 p3_checkbox
% --- Executes on button press in p4_checkbox.
function p4_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to p4_checkbox (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 p4_checkbox
% --- Executes on button press in o1_checkbox.
function o1_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to o1_checkbox (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 o1_checkbox
% --- Executes on button press in o2_checkbox.
function o2_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to o2_checkbox (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 o2_checkbox
% --- Executes on button press in f7_checkbox.
function f7_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to f7_checkbox (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 f7_checkbox
% --- Executes on button press in f8_checkbox.
function f8_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to f8_checkbox (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 f8_checkbox
% --- Executes on button press in t7_checkbox.
function t7_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to t7_checkbox (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 t7_checkbox
% --- Executes on button press in t8_checkbox.
function t8_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to t8_checkbox (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 t8_checkbox
% --- Executes on button press in p7_checkbox.
function p7_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to p7_checkbox (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 p7_checkbox
% --- Executes on button press in p8_checkbox.
function p8_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to p8_checkbox (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 p8_checkbox
% --- Executes on selection change in fp1_popupmenu.
function fp1_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to fp1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns fp1_popupmenu
% contents as cell array显示的所有的电极
% contents{get(hObject,'Value')} returns selected item from
% fp1_popupmenu显示的选择的电极
% --- Executes during object creation, after setting all properties.
function fp1_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to fp1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in fp2_popupmenu.
function fp2_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to fp2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns fp2_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from fp2_popupmenu
% --- Executes during object creation, after setting all properties.
function fp2_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to fp2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in f3_popupmenu.
function f3_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to f3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns f3_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from f3_popupmenu
% --- Executes during object creation, after setting all properties.
function f3_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to f3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in f4_popupmenu.
function f4_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to f4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns f4_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from f4_popupmenu
% --- Executes during object creation, after setting all properties.
function f4_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to f4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in c3_popupmenu.
function c3_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to c3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns c3_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from c3_popupmenu
% --- Executes during object creation, after setting all properties.
function c3_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to c3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in c4_popupmenu.
function c4_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to c4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns c4_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from c4_popupmenu
% --- Executes during object creation, after setting all properties.
function c4_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to c4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in p3_popupmenu.
function p3_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to p3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns p3_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from p3_popupmenu
% --- Executes during object creation, after setting all properties.
function p3_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to p3_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in p4_popupmenu.
function p4_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to p4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns p4_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from p4_popupmenu
% --- Executes during object creation, after setting all properties.
function p4_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to p4_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in o1_popupmenu.
function o1_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to o1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns o1_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from o1_popupmenu
% --- Executes during object creation, after setting all properties.
function o1_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to o1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in o2_popupmenu.
function o2_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to o2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns o2_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from o2_popupmenu
% --- Executes during object creation, after setting all properties.
function o2_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to o2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in f7_popupmenu.
function f7_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to f7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns f7_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from f7_popupmenu
% --- Executes during object creation, after setting all properties.
function f7_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to f7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in f8_popupmenu.
function f8_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to f8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns f8_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from f8_popupmenu
% --- Executes during object creation, after setting all properties.
function f8_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to f8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in t7_popupmenu.
function t7_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to t7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns t7_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from t7_popupmenu
% --- Executes during object creation, after setting all properties.
function t7_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to t7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in t8_popupmenu.
function t8_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to t8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns t8_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from t8_popupmenu
% --- Executes during object creation, after setting all properties.
function t8_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to t8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in p7_popupmenu.
function p7_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to p7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns p7_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from p7_popupmenu
% --- Executes during object creation, after setting all properties.
function p7_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to p7_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in p8_popupmenu.
function p8_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to p8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns p8_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from p8_popupmenu
% --- Executes during object creation, after setting all properties.
function p8_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to p8_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on button press in fz_checkbox.
function fz_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fz_checkbox (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 fz_checkbox
% --- Executes on button press in cz_checkbox.
function cz_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to cz_checkbox (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 cz_checkbox
% --- Executes on button press in pz_checkbox.
function pz_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to pz_checkbox (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 pz_checkbox
% --- Executes on button press in oz_checkbox.
function oz_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to oz_checkbox (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 oz_checkbox
% --- Executes on button press in fc1_checkbox.
function fc1_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fc1_checkbox (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 fc1_checkbox
% --- Executes on button press in fc2_checkbox.
function fc2_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fc2_checkbox (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 fc2_checkbox
% --- Executes on button press in cp1_checkbox.
function cp1_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to cp1_checkbox (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 cp1_checkbox
% --- Executes on button press in cp2_checkbox.
function cp2_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to cp2_checkbox (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 cp2_checkbox
% --- Executes on button press in fc5_checkbox.
function fc5_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fc5_checkbox (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 fc5_checkbox
% --- Executes on button press in fc6_checkbox.
function fc6_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to fc6_checkbox (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 fc6_checkbox
% --- Executes on button press in cp5_checkbox.
function cp5_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to cp5_checkbox (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 cp5_checkbox
% --- Executes on button press in cp6_checkbox.
function cp6_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to cp6_checkbox (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 cp6_checkbox
% --- Executes on button press in tp9_checkbox.
function tp9_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to tp9_checkbox (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 tp9_checkbox
% --- Executes on button press in tp10_checkbox.
function tp10_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to tp10_checkbox (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 tp10_checkbox
% --- Executes on button press in poz_checkbox.
function poz_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to poz_checkbox (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 poz_checkbox
% --- Executes on button press in eog_checkbox.
function eog_checkbox_Callback(hObject, eventdata, handles)
% hObject handle to eog_checkbox (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 eog_checkbox
% --- Executes on selection change in fz_popupmenu.
function fz_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to fz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns fz_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from fz_popupmenu
% --- Executes during object creation, after setting all properties.
function fz_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to fz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in cz_popupmenu.
function cz_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to cz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns cz_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from cz_popupmenu
% --- Executes during object creation, after setting all properties.
function cz_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to cz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in pz_popupmenu.
function pz_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to pz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns pz_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from pz_popupmenu
% --- Executes during object creation, after setting all properties.
function pz_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to pz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in oz_popupmenu.
function oz_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to oz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns oz_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from oz_popupmenu
% --- Executes during object creation, after setting all properties.
function oz_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to oz_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in fc1_popupmenu.
function fc1_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to fc1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns fc1_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from fc1_popupmenu
% --- Executes during object creation, after setting all properties.
function fc1_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to fc1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in fc2_popupmenu.
function fc2_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to fc2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns fc2_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from fc2_popupmenu
% --- Executes during object creation, after setting all properties.
function fc2_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to fc2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in cp1_popupmenu.
function cp1_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to cp1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns cp1_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from cp1_popupmenu
% --- Executes during object creation, after setting all properties.
function cp1_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to cp1_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in cp2_popupmenu.
function cp2_popupmenu_Callback(hObject, eventdata, handles)
% hObject handle to cp2_popupmenu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns cp2_popupmenu contents as cell array
% contents{get(hObject,'Value')} returns selected item from cp2_popupmenu
% --- Executes during object creation, after setting all properties.
function cp2_popupmenu_CreateFcn(hObject, eventdata, handles)
% hObject handle to cp2_popupmenu (see GCBO)