I have a for loop that is iterating through around a hundred files, unzipping and performing some operation. It works great on 90 of these but on those files above around 4GB I get the error message: (Error using unzip (line 84) Invalid zip file "C:\filename.zip".)
Is there any way to unzip these larger files in MATLAB?
thanks
Using files above 4GB requires ZIP64, the MATLAB version you are using does not support it (Not sure if it was added in recent version).
For recent MATLAB versions which can use python libraries, use the python unzip commands (which support ZIP64). For older MATLAB versions look for an alternative library, for example Apache Commons Compress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With