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

2 vues (au cours des 30 derniers jours)
kellybry
kellybry le 13 Sep 2016
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 commentaire
George
George le 13 Sep 2016
What version of matfiles are they? See here for more info.

Connectez-vous pour commenter.

Réponses (1)

Jordan Ross
Jordan Ross le 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

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by