Reading large gz files without unzip

4 次查看(过去 30 天)
I need to go into a very large dataset that is made of many large .gz files (each of 1GB). In the UNIX shell it is possible to explore them without unzipping using the command:
gzcat
Is there something equivalent for Matlab?

回答(2 个)

Jan
Jan 2015-6-23
编辑:Jan 2015-6-23
What about
system('gzcat ...')
?
  3 个评论
Jan
Jan 2015-6-23
You want to "explore" the files. So why do you need to create a "stream"?
Davide
Davide 2015-6-23
Sorry, probably I did not explain very well what I have to do. It deals with financial data, each gz file has the structure (I am attaching only the first two lines)
#RIC,Date[G],Time[G],GMT Offset,Type,Price,Volume,Bid Price,Ask Price,Exch Time
A.N,18-FEB-2014,14:31:00.610,-5,Trade,55.47,48939,,,14:31:00.565
A.N,18-FEB-2014,14:31:00.610,-5,Quote,,,55.43,55.47,
and I want to, for example, interpolate the column "Price" on a fixed time grid, using previous tick interpolation. So I need to use for loops to operate on the file.

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2015-6-23
  2 个评论
Sivakandan Mani
Sivakandan Mani 2019-5-26
Hi Davide,
could you processes your data in matlab,
I have similar kind of problem. If you dont mind could you help me?
With regards,
Siva

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by