why is it taking so long to open .mat files from 2014b using 2016a?

1 view (last 30 days)
I recently upgraded to 2016a. Now, when I load .mat files save with 2014b, it takes several minutes for them to load. Any idea how I can speed this up? Thanks!

Answers (1)

Jordan Ross
Jordan Ross on 19 Sep 2016
Hello,
The version that the .MAT file is saved in does influence the performance. Refer to documentation @George mentioned in his comment: https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html
One way to improve performance is to use the "matfile" function. This will allow you to load certain variables that you need without loading the entire file into memory.
For more information see the following documentation: https://www.mathworks.com/help/matlab/ref/matfile.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!