Why does .mat file previewer take so long?
Afficher commentaires plus anciens
I often wish to preview the contents of a .mat file in the Current Folder browser. Some of my .mat files are quite large, which seems to cause a long delay for the previewer to populate. This for example, is what one of my previews should look like,

but it takes about a full minute before I see anything but this,

Why does it take so long for Matlab to inventory a .mat file on disk. Isn't all this information kept in a header?
2 commentaires
Just how large and/or complicated are the meta and P objects stored inside the MAT-file?
Do they overload certain methods like size? To check, load them into memory then ask which.
t = array2table(magic(4)); % sample object
which size(t) % show the location of the overloaded method
Matt J
le 8 Jan 2025
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Historical Contests dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!