load a big data

2 次查看(过去 30 天)
MINA
MINA 2016-9-6
评论: MINA 2016-9-6
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
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 个评论
KSSV
KSSV 2016-9-6
What is the file size?
If you are making the file, try to save it in ver 7.3.
MINA
MINA 2016-9-6
About 8 Gb. And I saved it in ver 7.3.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by