BpodSystem.Status

Description

BpodSystem.Status is a struct populated with system status variables. Most subfields are used internally by the GUI.

BpodSystem.Status.BeingUsed indicates whether a behavior session is running.

Example

% 1. When the user ends the session, this code calls a user-defined cleanup function before exiting


if BpodSystem.Status.BeingUsed == 0

MyCleanupFunction;

return

end