MATLAB toolbox for continuous event detection