This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loop(this, hObject, statusCallback, exitCallback) | |
% Main loop - acquire samples and call analysis functions | |
% Get handles used below | |
stimControl = StimControl.getInstance(); % Singleton instance to analyis code | |
% This starts data zooming through the buffer. Set an onCleanup handler in case of error | |
% so that data acquisition can be stopped prior to releasing MATLAB memory used by cbmex. | |
this.setupTrialConfigMemory(); |