MATLAB: How to read from .tar.zip without unzipping it? Part II

zip

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?

Best Answer

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.