From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: create excel plot with MATLAB?
Date: Fri, 6 Jul 2012 04:03:11 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <jt5o1v$msi$>
References: <i1njgq$1og$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1341547391 23442 (6 Jul 2012 04:03:11 GMT)
NNTP-Posting-Date: Fri, 6 Jul 2012 04:03:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3536503
Xref: comp.soft-sys.matlab:773124

Okay that is helpful. However, if this has to be done in a loop, then that is a problem becasue this is a range of columns:

for i = 1:5 %I am stopping at 5 because I would need to loop through columns B-F

The column names are not numeric. The counter that loops through is i which is numeric. How would it know that it has to specify a column in EXCEL?