StateTiming()
StateTiming()
Description
The StateTiming plot shows the time course of states in the previous trial.
StateTiming was contributed by Florian Rau in Poulet Lab at MDC Berlin.
The Bpod Wiki has moved! Click to be redirected:
Description
The StateTiming plot shows the time course of states in the previous trial.
StateTiming was contributed by Florian Rau in Poulet Lab at MDC Berlin.
Syntax
StateTiming();
Parameters
None
Returns
None
Example
% In the protocol's main loop, this code must follow each trial's call to AddTrialEvents()
for currentTrial = 1:maxTrials
...
RawEvents = RunStateMachine;
BpodSystem.Data = AddTrialEvents(BpodSystem.Data, RawEvents);
StateTiming();
...
end