help-octave
[Top][All Lists]
Advanced

[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
OO.org 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
does:

========================================================================
>> 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,
streamCopier);

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

>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.1.0.183 (R14) Service Pack 3
========================================================================

Which version of Matlab are you using? 

        Thomas



reply via email to

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