MATLAB: Am I unable to uncompress the archive using the GUNZIP function in MATLAB

compressfileformatgunzipMATLABsolarisunzip

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.

Best Answer

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.