-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignalTypePanelSwitch.m
39 lines (27 loc) · 1.06 KB
/
SignalTypePanelSwitch.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
function SignalTypePanelSwitch(handles, sigType)
%The purpose of this function is to switch between the 4 different signals
%panels within the major signal panel.
%switching visibility on or off
switch sigType
case 'Sinusoidal'
handles.sinusoidPanel.Visible = 'on';
handles.customSignal.Visible = 'on';
handles.electrodePanel.Visible = 'on';
handles.fermiPanel.Visible = 'on';
case 'Fermi'
handles.sinusoidPanel.Visible = 'on';
handles.customSignal.Visible = 'on';
handles.electrodePanel.Visible = 'on';
handles.fermiPanel.Visible = 'on';
case 'Custom'
handles.sinusoidPanel.Visible = 'on';
handles.customSignal.Visible = 'on';
handles.electrodePanel.Visible = 'on';
handles.fermiPanel.Visible = 'on';
case 'Electrode'
handles.sinusoidPanel.Visible = 'on';
handles.customSignal.Visible = 'on';
handles.electrodePanel.Visible = 'on';
handles.fermiPanel.Visible = 'on';
end
end