Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How do I add header information to a matric when using the writng to file?
Date: Sat, 20 Jun 2009 20:53:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 8
Message-ID: <h1ji7d$fs5$1@fred.mathworks.com>
References: <h1eu3g$i7q$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 1245531181 16261 172.30.248.37 (20 Jun 2009 20:53:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 20 Jun 2009 20:53:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:549181


"Jack " <use.text.after.underscore.only_jcannon@csu.edu.au> wrote in message <h1eu3g$i7q$1@fred.mathworks.com>...
> I have a 201 x 7 numerical matrix that I want to write to file. Format doesn't really matter provided I can open it in excel (csv is probablt best, but could be ASCII, text, dlm, etc). How do I add header information for each column to the matric when I write the file? Thanks.

this FEX contribution might be helpful

http://www.mathworks.com/matlabcentral/fileexchange/23840

us