File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 102
102
cfg.fixation.lineWidthPix = 3 ;
103
103
cfg.fixation.xDisplacement = 0 ;
104
104
cfg.fixation.yDisplacement = 0 ;
105
-
105
+
106
106
cfg.target.maxNbPerBlock = 2 ;
107
107
cfg.target.duration = 0.5 ; % In secs
108
108
Original file line number Diff line number Diff line change 22
22
targetDuration = cfg .target .duration ;
23
23
isSoundTarget = thisEvent .soundTarget(1 );
24
24
25
-
26
25
soundData = cfg .soundData ;
27
26
28
27
switch direction
Original file line number Diff line number Diff line change 76
76
while 1
77
77
78
78
fixationTargets = zeros(NB_BLOCKS , NB_EVENTS_PER_BLOCK );
79
-
79
+
80
80
soundTargets = zeros(NB_BLOCKS , NB_EVENTS_PER_BLOCK );
81
81
82
82
for iBlock = 1 : NB_BLOCKS
95
95
[1 NB_EVENTS_PER_BLOCK ]);
96
96
97
97
fixationTargets(iBlock , chosenPosition ) = 1 ;
98
-
98
+
99
99
% Sound targets
100
100
nbTarget = numTargetsForEachBlock(iBlock );
101
101
123
123
cfg = setDirections(cfg );
124
124
125
125
cfg.design.fixationTargets = fixationTargets ;
126
-
126
+
127
127
cfg.design.soundTargets = soundTargets ;
128
128
129
129
%% Plot
You can’t perform that action at this time.
0 commit comments