When I traced my reference MATLAB script, I found files with the .mat extension. My questions are:
.mat
.m