Matlab fails to unzip large files

16 次查看(过去 30 天)
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.

回答(2 个)

Bobby
Bobby 2013-5-30
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 2023-4-24
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.

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by