Matlab fails to unzip large files

15 views (last 30 days)
Antonis
Antonis on 14 May 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.

Answers (2)

Bobby
Bobby on 30 May 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 on 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.

Categories

Find more on Testing Frameworks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!