help-octave
[Top][All Lists]
Advanced

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

Re: comment in data file?


From: Stefan van der Walt
Subject: Re: comment in data file?
Date: Wed, 1 Feb 2006 17:46:36 +0200
User-agent: Mutt/1.5.9i

On Wed, Feb 01, 2006 at 10:25:32AM -0500, address@hidden wrote:
> However, I would like to add some comments to the file but I haven't
> been able to do so, for example: 
> 
> # created by 
> # name: Y
> # type: matrix
> # rows:  100
> # columns: 5
> # my comment 
> 
> fails to load the file 

That is probably the only point where you cannot insert a comment.
Use comments before name: or after the matrix numbers, i.e.

# Comment in my file

# Created by Octave 2.1.71, Wed Feb 01 17:44:21 2006 SAST <address@hidden>
# name: a
# type: matrix
# rows: 1
# columns: 3
 1 2 3

# comment in my file

# name: b
# type: matrix
# rows: 3
# columns: 3
 1.40333425641537 1.80747915546884 -0.981544355727542
 0.360165103047108 -0.0395738838669912 -0.667367407594073
 -0.75687980337846 0.521332903030514 1.66887960566729

# comment in my file

Regards
Stéfan



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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