Path: news.mathworks.com!not-for-mail
From: "Varun " <vxr143@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: efficient way to read this text file
Date: Sat, 11 Aug 2007 16:45:03 +0000 (UTC)
Organization: Pennsylvania State University
Lines: 18
Message-ID: <f9kp2f$ck1$1@fred.mathworks.com>
Reply-To: "Varun " <vxr143@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186850703 12929 172.30.248.37 (11 Aug 2007 16:45:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 11 Aug 2007 16:45:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 423816
Xref: news.mathworks.com comp.soft-sys.matlab:423532


Hi,

I would like to read data from a text file that has the
following content:

TITLE="H:, "U m/s", "V m/s", "CHC", ZONE T="83.941605 um/p, 
2.014599, 83.270073, 9900000256.000000, 9900000256.000000, -1
2.686131, 83.270073, 9900000256.000000, 9900000256.000000, -1
3.357664, 83.270073, 9900000256.000000, 9900000256.000000, -1
4.029197, 83.270073, 9900000256.000000, 9900000256.000000, -1
75.883209, 44.992699, 0.026952, 0.018204, 4


Is there an efficient way to read just the numbers after the
first line into a [m,n] matrix.

Regards,
Varun