Matlab fails to unzip large files

15 Ansichten (letzte 30 Tage)
Antonis
Antonis am 14 Mai 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.

Antworten (2)

Bobby
Bobby am 30 Mai 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 am 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.

Kategorien

Mehr zu Testing Frameworks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by