Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: N.B. -- Re: reading from a text file
Date: Mon, 18 May 2009 23:04:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 18
Message-ID: <gusph1$nv9$1@fred.mathworks.com>
References: <gurtb5$h3$1@fred.mathworks.com> <guru1n$gsh$1@fred.mathworks.com> <_Nidnc71fN-aMYzXnZ2dnUVZ_jSdnZ2d@earthlink.com>
Reply-To: <HIDDEN>
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 1242687841 24553 172.30.248.35 (18 May 2009 23:04:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 18 May 2009 23:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:540851


Any one <?O75z!/9?s@WqP0SZo?XAs0NO2&D}CA?1_G.#`}> wrote in message <_Nidnc71fN-aMYzXnZ2dnUVZ_jSdnZ2d@earthlink.com>...
> us wrote on 18-May-09 08:15 :
> [snip]
> >      fnam='foo.txt';     % <- your file name
> >      s=textread(fnam,'%n','headerlines',3,'whitespace','}');
> [snip]
> 
> Help -> Search -> textread:
> 
> "Note   textread is not recommended. Use textscan to read data from a 
> text file."   -- R2009a help page

well,
here, we are (for good reasons) still working with r2008b...
also, i do not agree with this help-statement (for very good reasons)...

just a thought
us