-
Notifications
You must be signed in to change notification settings - Fork 0
/
initialize_variables.m
46 lines (38 loc) · 1.16 KB
/
initialize_variables.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
function [accepted_trials, accepted_sweeps, rm_data, stim_onset, timebase_data, tryfit_output, apstuff_output, freq_adap_rheo, gap_free_output] = initialize_variables(last_row)
accepted_trials = cell(1, last_row);
for k = 1:last_row
accepted_trials{k} = cell(0, 0);
end
accepted_sweeps = cell(1, last_row);
for k = 1:last_row
accepted_sweeps{k} = cell(0, 0);
end
rm_data = cell(1, last_row);
for k = 1:last_row
rm_data{k} = cell(0, 0);
end
stim_onset = cell(1, last_row);
for k = 1:last_row
stim_onset{k} = cell(0, 0);
end
timebase_data = cell(1, last_row);
for k = 1:last_row
timebase_data{k} = cell(0, 0);
end
tryfit_output = cell(1, last_row);
for k = 1:last_row
tryfit_output{k} = cell(0, 0);
end
apstuff_output = cell(1, last_row);
for k = 1:last_row
apstuff_output{k} = cell(0, 0);
end
freq_adap_rheo = cell(1, last_row);
for k = 1:last_row
freq_adap_rheo{k} = cell(0, 0);
end
gap_free_output = cell(1, last_row);
for k = 1:last_row
gap_free_output{k} = cell(0, 0);
end
end