Repository navigation
Expand file tree
/
Copy pathresponseDataExtract_script.m
More file actions
98 lines (59 loc) · 1.77 KB
/
Copy pathresponseDataExtract_script.m
File metadata and controls
98 lines (59 loc) · 1.77 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
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
%% script to extract response timing data - 8-2-2016
% clear workspace
close all; clear all; clc
% initialize output and meta dir
% set input output working directories - for David's PC right now
Z_ConstantsStimResponse;
% DJC Desktop
DATA_DIR = 'C:\Users\djcald.CSENETID\Data\ConvertedTDTfiles';
sid = SIDS{2};
%%
if strcmp(sid,'acabb1') % first subject
%% add the right path
addpath(genpath('acabb1'))
%% extract the response times
extractStimResponse_acabb1
%% compare the response times
compareRespTimes_acabb1
%% extract the neural data
extractNeuralData_acabb1
end
%%
if strcmp(sid,'c19968') % second subject
%% add the right path
addpath(genpath('c19968'))
%% extract the response times
extractStimResponse_c19968
%% compare the response times
compareRespTimes_c19968
%% extract the neural data
%extractNeuralData_c19968
end
%%
if strcmp(sid,'693ffd') % third subject
%% add the right path
addpath(genpath('693ffd'))
%% extract the response times
extractStimResponse_693ffd
%% compare the response times
compareRespTimes_693ffd
%% extract the neural data
%extractNeuralData_c19968
end
if strcmp(sid,'2fd831') % third subject
%% add the right path
addpath(genpath('2fd831'))
%% extract the response times
extractStimResponse_2fd831
%% compare the response times
compareRespTimes_2fd831
%% extract the neural data
%extractNeuralData_2fd831
end
if strcmp(sid,'a1355e')
addpath(genpath('a1355e'))
%% extract the response times
extractStimResponse_a1355e
%% compare the response times
compareRespTimes_a1355e
end