Matlab fails to unzip large files

11 visualizaciones (últimos 30 días)
Antonis
Antonis el 14 de Mayo de 2013
Comentada: Matthew Rademacher el 24 de Abr. de 2023
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.

Respuestas (2)

Bobby
Bobby el 30 de Mayo de 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 el 24 de Abr. de 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.

Categorías

Más información sobre File Compression en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by