Commit c6c0db0c authored by Jesse Heckman's avatar Jesse Heckman

implement wait for trigger

parent b7adc61f
...@@ -74,8 +74,8 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg) ...@@ -74,8 +74,8 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg)
%% WAIT %% WAIT
ev = [stim.offevent]; ev = 0;
de = [stim.offdelay]; de = 2500;
if isfield(stim,'offevent'); ev = stim.offevent; end if isfield(stim,'offevent'); ev = stim.offevent; end
if isfield(stim,'offdelay'); de = stim.offdelay; end if isfield(stim,'offdelay'); de = stim.offdelay; end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment