File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 102102 cfg.fixation.lineWidthPix = 3 ;
103103 cfg.fixation.xDisplacement = 0 ;
104104 cfg.fixation.yDisplacement = 0 ;
105-
105+
106106 cfg.target.maxNbPerBlock = 2 ;
107107 cfg.target.duration = 0.5 ; % In secs
108108
Original file line number Diff line number Diff line change 2222 targetDuration = cfg .target .duration ;
2323 isSoundTarget = thisEvent .soundTarget(1 );
2424
25-
2625 soundData = cfg .soundData ;
2726
2827 switch direction
Original file line number Diff line number Diff line change 7676 while 1
7777
7878 fixationTargets = zeros(NB_BLOCKS , NB_EVENTS_PER_BLOCK );
79-
79+
8080 soundTargets = zeros(NB_BLOCKS , NB_EVENTS_PER_BLOCK );
8181
8282 for iBlock = 1 : NB_BLOCKS
9595 [1 NB_EVENTS_PER_BLOCK ]);
9696
9797 fixationTargets(iBlock , chosenPosition ) = 1 ;
98-
98+
9999 % Sound targets
100100 nbTarget = numTargetsForEachBlock(iBlock );
101101
123123 cfg = setDirections(cfg );
124124
125125 cfg.design.fixationTargets = fixationTargets ;
126-
126+
127127 cfg.design.soundTargets = soundTargets ;
128128
129129 %% Plot
You can’t perform that action at this time.
0 commit comments