Revision 28:02aa9826efe0 multithreshold 1.46/nextStimulus.m

View differences:

multithreshold 1.46/nextStimulus.m
2 2
% Handles everything concerned with the stimulus presentation
3 3
%  called from startNewRun in subjGUI
4 4

  
5
global experiment stimulusParameters withinRuns betweenRuns
5
global experiment stimulusParameters withinRuns  
6 6
experiment.status='presentingStimulus';
7 7
errormsg='';
8 8

  
......
10 10
if experiment.stop
11 11
    disp('******** experiment manually stopped  *****************')
12 12
    experiment.status= 'waitingForStart';
13
    addToMsg('manually stopped',1)
13
    errormsg='manually stopped';
14
    addToMsg(errormsg,1)
14 15
    return
15 16
end
16 17

  

Also available in: Unified diff