taking MATLAB out of code ticks