Tasks Crashes after Updating to the Dec Version December 20, 2021 05:44PM |
Registered: 3 years ago Posts: 5 |
Re: Tasks Crashes after Updating to the Dec Version December 20, 2021 05:52PM |
Registered: 3 years ago Posts: 5 |
Re: Tasks Crashes after Updating to the Dec Version December 20, 2021 11:27PM |
Admin Registered: 5 years ago Posts: 883 |
Re: Tasks Crashes after Updating to the Dec Version December 22, 2021 11:32AM |
Registered: 3 years ago Posts: 5 |
for iScene = 1:nPicsToShow % scene 2: image 1 fix2 = SingleTarget(eye_); fix2.Target = fixation_point; fix2.Threshold = hold_radius; wth2 = WaitThenHold(fix2); wth2.WaitTime = 0; % We already knows the fixation is acquired, so we don't wait. wth2.HoldTime = sample_time; sceneON{iScene} = create_scene(wth2,[fixation_point iScene]); % delay wth3 = WaitThenHold(fix2); wth3.WaitTime = 0; wth3.HoldTime = delay; sceneOFF{iScene} = create_scene(wth3,fixation_point); end % of iScene
Re: Tasks Crashes after Updating to the Dec Version December 22, 2021 12:54PM |
Admin Registered: 5 years ago Posts: 883 |
Re: Tasks Crashes after Updating to the Dec Version December 22, 2021 03:02PM |
Registered: 3 years ago Posts: 5 |
run_scene(sceneON{iScene},thisImage_code_on); % Run the second scene (eventmarker 20) if ~wth2.Success % If the WithThenHold failed, run_scene(endscene); % that means the subject didn't keep fixation on the sample image. trialerror(3); % So this is the "break fixation (3)" error. return end run_scene(sceneOFF{iScene},thisImage_code_off); % Run the third (delay) scene (eventmarker 30) if ~wth3.Success run_scene(endscene); trialerror(3); % break fixation (3) return end
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.