Path: news.mathworks.com!not-for-mail
From: Peter Perkins <Peter.Perkins@MathRemoveThisWorks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Array of class objects?
Date: Mon, 19 Oct 2009 13:38:15 -0400
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <hbi867$64m$1@fred.mathworks.com>
References: <hb2i5a$hp4$1@fred.mathworks.com>
NNTP-Posting-Host: perkinsp.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1255973895 6294 172.31.57.88 (19 Oct 2009 17:38:15 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 19 Oct 2009 17:38:15 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <hb2i5a$hp4$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:578474


David Doria wrote:
> If I have a class:
> 
> classdef DataPoint
[snip]

> And I want a bunch of DataPoint's in an array, I thought I would make a cell array and store them there:

Why don't you just concatenate them into a DataPoint array?