matlab load function slower than h5read for v7.3 .mat files
이전 댓글 표시
When files are saved in -v7.3 .mat file which is hdf5 format, the load function works very slow compared to h5read. Are there better optimized load functions for .hdf5 mat files?
답변 (2개)
Rutuja Shirali
2015년 9월 3일
편집: Rutuja Shirali
2015년 9월 3일
0 개 추천
Hi Suresh,
Version 7.3 .mat files use a HDF5 storage format which may require some overhead. You can read more about differences between .mat file formats in our documentation:
We can try saving the files in a different .mat file version using the following command:
>>save('mymatfile.mat','-v7');
We can also use the "matfile" function to load or save variables. More information about this function can be found here:
Thanks!
Rutuja
카테고리
도움말 센터 및 File Exchange에서 HDF5 Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!