Read *.mat files inside a zip file without extracting(/unzipping) the zip file

36 views (last 30 days)
Hello Everybody
I have several zip files with large sizes, each of them contains at least 500 mat files and each of these mat files is a large matrix containing numbers, e.g. 8000*2000 double.
I don't have enough free space to extract these zip files and then import the data inside these matrices. So, I want to know is there any possibility to read these matrices without unzipping these zip files?
Thank you in advance

Accepted Answer

Mehmed Saad
Mehmed Saad on 8 May 2020
Edited: Mehmed Saad on 8 May 2020
  6 Comments
Mehmed Saad
Mehmed Saad on 9 May 2020
Edited: Mehmed Saad on 9 May 2020
sorry sir. see the updated comment.
It is better to provide just the source instead of posting their code. got it
Darcy Cordell
Darcy Cordell on 1 Sep 2023
Does this only work on Windows? And does it only work if the zip file has the *.zip extension? I have zipped fies on a Mac with *.gz extension. Any help is appreciated.

Sign in to comment.

More Answers (0)

Categories

Find more on Source Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!