Path: news.mathworks.com!not-for-mail
From: "Jack " <use.text.after.underscore.only_jcannon@csu.edu.au>
Newsgroups: comp.soft-sys.matlab
Subject: How do I add header information to a matric when using the writng to file?
Date: Fri, 19 Jun 2009 02:45:04 +0000 (UTC)
Organization: Charles Sturt University
Lines: 1
Message-ID: <h1eu3g$i7q$1@fred.mathworks.com>
Reply-To: "Jack " <use.text.after.underscore.only_jcannon@csu.edu.au>
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 1245379504 18682 172.30.248.37 (19 Jun 2009 02:45:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 19 Jun 2009 02:45:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1819435
Xref: news.mathworks.com comp.soft-sys.matlab:548816


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.