Why am I unable to uncompress my archive using the GUNZIP function in MATLAB?
4 views (last 30 days)
Show older comments
When I attempt to uncompress a file called "myarchive.Z", using the following command in MATLAB 7.0 (R14):
gunzip myarchive.Z
I receive the following error message:
Error Messages: ??? Error using ==> gunzip>gunzipwrite
File "/tmp/igr11290.sp3.Z" is not in GZIP format.
Error in ==> gunzip>gunzipEntries at 99
names{end+1} = gunzipwrite(entries(i).file, outputDir, baseName, streamCopier);
Error in ==> gunzip at 54
names = gunzipEntries(entries, outputDir);
The file uncompresses correctly from the system command line outside the MATLAB envrionment.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The ability to uncompress archives other than GNU-zipped files created using the GZIP command is not available in MATLAB. For example, the Solaris compress file format is not supported by the GUNZIP command. There are no workarounds.
0 Comments
More Answers (0)
See Also
Categories
Find more on File Compression 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!