Skip to content

Instantly share code, notes, and snippets.

@isaac-ped
isaac-ped / RAMControl.m
Last active February 2, 2016 16:30 — forked from anonymous/cbmex.cpp
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();