Matlab fails to unzip large files

24 visualizzazioni (ultimi 30 giorni)
Antonis
Antonis il 14 Mag 2013
When i try to unzip a 5GB zip file I get the the following error message:
******************************* ******************************* Invalid zip file "C:\Folder\Coordinates.zip".
Error in simulationprocessingroutinesZIPABSOLUTES (line 51) unzip('Coordinates')
******************************* *******************************
This error does not appear when using the same script on zip files of smaller size (I tested some which were less than 100MB and it works just fine). The zip file is not corrupted in any way and unzips normally when trying with WinZip, 7Zip, WinRar.

Risposte (2)

Bobby
Bobby il 30 Mag 2013
Fix this fail by use of how to fix a corrupted zip folder
This article http://www.repairzip.recoverytoolbox.com contains a lot of applications for extracting archives

Matthew Rademacher
Matthew Rademacher il 24 Apr 2023
The issue is due to compression with the deflate64 vs deflate method. It appears that if a file is larger than 2 GB, windows uses the deflate64 compression method.

Categorie

Scopri di più su Testing Frameworks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by