load a big data

I have a big structure .mat file called a.mat and it has a structure named stat. stat has filed called day. i.e., stat.day. There are 6 days and I only want to load one day, that is, stat.day(1). Can someone please tell me how I can do this without loading the whole structure in the memory. Thanks

回答(1 个)

KSSV
KSSV 2016-9-6

0 个投票

If you have saved the mat file using the version 7.3 then it is possible to load parts of it. For any other version lower then this, I don't think it is possible to load part of a file.
More on:

3 个评论

I did use version v.3 when I saved the file. But I still don't know how I can get a subfield of the structure. Meaning, I only want stat.day(1) and not other stat.day(2:end).
What is the file size?
If you are making the file, try to save it in ver 7.3.
About 8 Gb. And I saved it in ver 7.3.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Standard File Formats 的更多信息

提问:

2016-9-6

评论:

2016-9-6

Community Treasure Hunt

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

Start Hunting!

Translated by