필터 지우기
필터 지우기

How can I read from .tar.zip without unzipping it? Part II

조회 수: 1 (최근 30일)
Sam Da
Sam Da 2011년 2월 14일
Okay, I will try to create the zip instead. So, my zip will contain 1.mat, 2.mat ,etc. How do I read these .mat files from the zip without unzipping?
  댓글 수: 1
Oleg Komarov
Oleg Komarov 2011년 2월 14일
I tried to give a look at unzip.m, too complicated. You should modify several routines with java knowledge...I can't be of any help.
Lets say that you can unzip, load and delete afterwards...would much easier to write but less efficient.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2011년 2월 14일
My understand (possibly incorrect) is that at the Java level there is a method to unzip from an already-positioned input stream. Each zip archive component has a header saying how long it is, thus allowing you to fseek() to where the next archive header would start.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by