From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Combine variable length vectors into one vector
Date: Fri, 17 Aug 2012 20:33:14 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 4
Message-ID: <k0m9qa$53f$>
References: <k0c1vj$2h3$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1345235594 5231 (17 Aug 2012 20:33:14 GMT)
NNTP-Posting-Date: Fri, 17 Aug 2012 20:33:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3536503
Xref: comp.soft-sys.matlab:776704

What I was doing:
Use a for loop to store results of dir() in a cell array, N. Then, I would use a second for for loop to access the files in the cell array N.

I've decided to just use the files directly from the results of dir() as you both said. It is much easier and I don't have to build up a cell array.