[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gunzip incompatible

From: Thomas Weber
Subject: Re: gunzip incompatible
Date: Tue, 29 Jan 2008 08:39:53 +0100

Am Montag, den 28.01.2008, 15:03 -0700 schrieb Mats Hedlund:
> Thomas Weber wrote:
> >
> > extension (by the way, .odf can be extracted by unzip, not gunzip)?
> >   
> Really? Not straight from octave anyway. Maybe you mean using shell
> prompt: unix('unzip file.ods')?

Uh, I meant that from the shell. .odf files or more generally, all formats are zipped rather than gzipped. Your are right that
currently Octave is limited to a specific set of extensions.

> This works but it would be nice to be able to use unzip.m (or gunzip.m,
> for matlab compatibility).
Well, actually I think that Matlab should at least issue a warning here,
as it is clearly not using gunzip for extraction. However, it seems it

>> gunzip('v.ods')
??? Error using ==> gunzip>gunzipwrite
File "/tmp/z/v.ods" is not in GZIP format.

Error in ==> gunzip>gunzipEntries at 99
  names{end+1} = gunzipwrite(entries(i).file, outputDir, baseName,

Error in ==> gunzip at 54
   names = gunzipEntries(entries, outputDir);

>> ver
MATLAB Version (R14) Service Pack 3

Which version of Matlab are you using? 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]