Stimulate duration is not equal to that set in code April 16, 2021 04:57AM | Registered: 4 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 16, 2021 10:16AM | Admin Registered: 6 years ago Posts: 984 |
Re: Stimulate duration is not equal to that set in code April 19, 2021 01:31AM | Registered: 4 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 19, 2021 01:29PM | Admin Registered: 6 years ago Posts: 984 |
Re: Stimulate duration is not equal to that set in code April 22, 2021 05:03AM | Registered: 4 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 22, 2021 08:42PM | Admin Registered: 6 years ago Posts: 984 |
y = repmat([5 5 5 5 0 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0]',40,1); fs = 4000; save('waveform1.mat','y','fs');Then you can write a script like this.
fix1 = SingleTarget(joy_); fix1.Target = CentPoint; fix1.Threshold = 3; holdCent = WaitThenHold(fix1); holdCent.WaitTime = 10000; holdCent.HoldTime = time_centHold; scene1 = create_scene(holdCent); stim1 = Stimulator(null_); stim1.Channel = 1; stim1.Waveform = 'waveform1.mat'; scene2 = create_scene(stim1); run_scene(scene1); if holdCent.Success run_scene(scene2); end
Re: Stimulate duration is not equal to that set in code April 25, 2021 02:16AM | Registered: 4 years ago Posts: 19 |
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.