loading gz files/ zip files without extracting into MATLAB

Hi all
I have a huge text file zipped into .gz. I would like to load/ import the text file in .gz with out unzipping it.
After browsing google, I got to know that it can be done via java. I have seen few links as well. But the links so far discussed only listing the file contents.
Any option of loading the data in .gz files without unzipping?
Thanks in advance.

2 件のコメント

Stephen23
Stephen23 2016 年 7 月 12 日
編集済み: Stephen23 2016 年 7 月 12 日
@Dr. Siva Srinivas Kolukula: what form would you like the data to be in after reading into MATLAB ?
KSSV
KSSV 2016 年 7 月 12 日
The file in the .gz file has a matrix of size 6000x6000, I am expecting the same matrix. Preferably double. And thank you for the comment.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2016 年 7 月 13 日

0 投票

@Stephen Cobeldick, I managed it to do in java......now I can call the java loaded data in MATLAB and solve my purpose.
Soon I will upload the file in mathworks and give the link here.....

1 件のコメント

Sivakandan Mani
Sivakandan Mani 2019 年 5 月 21 日
Hi, did you upload the files in mathworks?
I am processing asc.gz files in matlab. I hope your code may be useful for me.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2016 年 7 月 12 日

コメント済み:

2019 年 5 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by