Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: dlmwrite
Date: Tue, 9 Sep 2008 16:00:22 +0000 (UTC)
Organization: Helbling Technik Bern AG
Lines: 11
Message-ID: <ga66im$ecd$1@fred.mathworks.com>
References: <ga4rli$s9v$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1220976022 14733 172.30.248.37 (9 Sep 2008 16:00:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 9 Sep 2008 16:00:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1271984
Xref: news.mathworks.com comp.soft-sys.matlab:489393



BTW, if you want to read the file a.txt, 'textread(a,...)' cannot work like this.

you either have to define:

a = 'a.txt'

or write

textread('a.txt',...)

I guess you did either one of these two, otherwise you would have had an execution error.