Path: news.mathworks.com!not-for-mail
From: "Kushagra Mittal" <kmittal@ymail.com>
Newsgroups: comp.soft-sys.matlab
Subject: how to read a file skipping all the text lines
Date: Wed, 30 Jul 2008 23:58:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 29
Message-ID: <g6qv69$4cu$1@fred.mathworks.com>
Reply-To: "Kushagra Mittal" <kmittal@ymail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217462281 4510 172.30.248.35 (30 Jul 2008 23:58:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 30 Jul 2008 23:58:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1453742
Xref: news.mathworks.com comp.soft-sys.matlab:482798



Hi
I want to read a ASCII file (given below). I only want to
read the numerical data in the form of a matrix and skip all
other text lines and the last character in the file which is ')'

Please suggest me how to do it? 

Thanks very much,
Kushagra

----------------------------
File :
----------------------------

(title "Mean Volume fraction (air) ")
(labels "Position" "Mean Volume fraction (air) ")

((xy/key/label "line-14")
-0.0374802	0
-0.0349168	0
-0.032392	0
-0.0297849	0
-0.02719	0
-0.0245914	0
-0.0220529	0
-0.0195992	0
-0.0171695	0
)