You can check the contents of and load specific data from .MAT files in MATLAB using the matfile function. Entering matObj = matfile(filename) creates a matlab.io.MatFile object connected to the MAT-file specified by filename.