Minor updates for analysis records in Matlab