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: LUK ShunTim
Subject: Re: reading mixed type data from file
Date: Sat, 08 Nov 2003 16:43:51 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

Y U Sasidhar wrote:

If a file contains data like
1 2 3
4 5 6

load filename

reads the data.
=====================
But if the file contains data like
1 name1 2.0 name2 3.0

load filename

does not work.
What is the solution ?


See if textread works for you.

Regards,
ST



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