help-octave
[Top][All Lists]
Advanced

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

Re: saving data without the header


From: Ben Abbott
Subject: Re: saving data without the header
Date: Tue, 24 Jan 2012 10:53:03 -0500

On Jan 24, 2012, at 10:50 AM, Jean Dupont wrote:

> 2012/1/23, Jordi GutiƩrrez Hermoso <address@hidden>:
>> On 23 January 2012 04:08, Jean Dupont <address@hidden> wrote:
>>> When saving data produced with octave like this:
>>> save('mydata.dat','y');
>>> 
>>> the file mydata.dat always starts with a header like this:
>>> 
>>> # Created by Octave 3.2.4, Fri Jan 20 20:08:08 2012 CET <address@hidden>
>>> # name: y
>>> # type: matrix
>>> # rows: 69
>>> # columns: 5
>>> 
>>> Is there a possibility to suppress this header?
>> 
>> Use the -ascii option.
>> 
> save('test.dat','y') -ascii
> This doesn't help, the header is still displayed
> 
> Jean

Try

        save test.dat y -ascii

or 

        save ("test.dat", "y", "-ascii")

Ben




reply via email to

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