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

1 次查看(过去 30 天)
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!

回答(1 个)

Jordan Ross
Jordan Ross 2016-9-19
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

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by