MATLAB code to interpret ATRIAS logfiles