Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!l35g2000vba.googlegroups.com!not-for-mail
From: David <david.b.a.epstein@googlemail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: cell arrays and structs
Date: Sun, 9 Aug 2009 13:29:56 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <ea06004d-6acc-4be0-a652-1751c4cd3117@l35g2000vba.googlegroups.com>
References: <a2f1b899-3886-492b-adb0-9530210f6315@g19g2000vbi.googlegroups.com> 
	<h5mve9$o6b$1@fred.mathworks.com>
NNTP-Posting-Host: 79.66.243.244
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1249849796 1651 127.0.0.1 (9 Aug 2009 20:29:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 9 Aug 2009 20:29:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l35g2000vba.googlegroups.com; posting-host=79.66.243.244; 
	posting-account=5tQcbAkAAACBTNiB5qbLUOHVUCr3iZqF
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; 
	rv:1.9.0.13; Google-TR-3) Gecko/2009073021 Firefox/3.0.13,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:561969


On 9 Aug, 18:02, "Matt " <x...@whatever.com> wrote:
> This seems like a bad way to store data. Why not use a struct array
>
> sta=[ta{:}];
>
> instead of burying each struct inside a cell where it is harder to get at?

The reason I have a cell array is that this is what an application of
regexp gave me. I was trying to find my way out of the cell array, but
didn't know how. Thanks everyone for showing me the construction---
this solves my problem.
David