runtime load mat-file not proportional to size?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
It takes me 0.08 seconds to load a .mat-file with 138MB containing 367 nx1 double arrays.
But 0.57 seconds to load a .mat-file with 3MB containing one nx250 double array.
Why is that?
I changed the structure of the file to be faster. Now i am slower.
Thanks in advance!
0 commentaires
Réponses (2)
Christian Tieber
le 8 Fév 2021
2 commentaires
Jan
le 8 Fév 2021
If you do not use an absolute path name, Matlab searchs in its PATH.
Can you provide some test data, e.g. created by RAND, which reproduce your observations?
Jan
le 8 Fév 2021
Do you saved in compressed or uncompressed format? In v6, v7 or v7.3 style?
Is the file contained in the disk cache of your HDD or SSD? This will influence the speed massively also.
Voir également
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!