help-octave
[Top][All Lists]
Advanced

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

Re: Octave and gzipped files


From: Matthias Brennwald
Subject: Re: Octave and gzipped files
Date: Tue, 9 Jan 2007 08:24:02 +0100

On 08.01.2007, at 23:46, address@hidden wrote:

If Octave can't directly read the gzipped file I suppose an alternative would be for Octave to call gzip to temporarily unzip the file, read the
data, and then zip it back up again.  Is this possible?

I guess you could do that using either the system(...) or popen(...) commands. For instance: if cmd is the shell command needed to extract the ASCII data from the zip file, then calling system(cmd) from within Octave will do what calling cmd from the shell would do. Then, you can continue reading the ASCII file into Octave.

For a long-term solution, are there any good storage methods for large
datasets that anyone can recommend, methods that are Octave and MATLAB
compatible?

How about a Matlab binary file (*.mat)?

Matthias


-------
Matthias Brennwald
L├Ągernstrasse 6
CH 8037 Z├╝rich
+41 (0)44 364 17 03
address@hidden





reply via email to

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