help-octave
[Top][All Lists]
Advanced

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

Re: reading mixed type data from file


From: Tomer Altman
Subject: Re: reading mixed type data from file
Date: Sun, 9 Nov 2003 01:43:13 +0000 (UTC)

That file can be found in the GNU Octave Repository:

http://octave.sourceforge.net/index/f/textread.html

HTH,

~Tomer



On Nov 8, 2003 at 4:43pm, LUK ShunTim wrote:

shunti >Date: Sat, 08 Nov 2003 16:43:51 +0800
shunti >From: LUK ShunTim <address@hidden>
shunti >To: Y U Sasidhar <address@hidden>
shunti >Cc: address@hidden
shunti >Subject: Re: reading mixed type data from file
shunti >Resent-Date: Sat, 08 Nov 2003 02:42:59 -0600
shunti >Resent-From: address@hidden
shunti >
shunti >Y U Sasidhar wrote:
shunti >
shunti >> If a file contains data like
shunti >> 1 2 3
shunti >> 4 5 6
shunti >> 
shunti >> load filename
shunti >> 
shunti >> reads the data.
shunti >> =====================
shunti >> But if the file contains data like
shunti >> 1 name1 2.0 name2 3.0
shunti >> 
shunti >> load filename
shunti >> 
shunti >> does not work.
shunti >> What is the solution ?
shunti >> 
shunti >
shunti >See if textread works for you.
shunti >
shunti >Regards,
shunti >ST
shunti >
shunti >
shunti >
shunti >-------------------------------------------------------------
shunti >Octave is freely available under the terms of the GNU GPL.
shunti >
shunti >Octave's home on the web:  http://www.octave.org
shunti >How to fund new projects:  http://www.octave.org/funding.html
shunti >Subscription information:  http://www.octave.org/archive.html
shunti >-------------------------------------------------------------
shunti >
shunti >



-------------------------------------------------------------
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]