Path: news.mathworks.com!not-for-mail
From: "Carlos Adrian Vargas Aguilera" <nubeobscura@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Extract just the header from a file
Date: Thu, 10 Jul 2008 15:31:06 +0000 (UTC)
Organization: Universidad de Guadalajara
Lines: 6
Message-ID: <g559vq$l6e$1@fred.mathworks.com>
References: <g53g1b$8dq$1@fred.mathworks.com> <f6869f18-defe-48ad-a7c0-fef81db878d0@59g2000hsb.googlegroups.com>
Reply-To: "Carlos Adrian Vargas Aguilera" <nubeobscura@hotmail.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 1215703866 21710 172.30.248.35 (10 Jul 2008 15:31:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 10 Jul 2008 15:31:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869698
Xref: news.mathworks.com comp.soft-sys.matlab:478633



Is better with TEXTEREAD function instead of FGETL. An you
can specify how many lines to be readed.

You could check out my READLINE function at File Exchange.

Carlos Vargas