Path: news.mathworks.com!not-for-mail
From: "Volker Klink" <klinkv.NOSPAM@yahoo.de>
Newsgroups: comp.soft-sys.matlab
Subject: 3D array to struct?
Date: Wed, 4 Nov 2009 10:24:02 +0000 (UTC)
Organization: TU Dresden
Lines: 12
Message-ID: <hcrko2$5vd$1@fred.mathworks.com>
Reply-To: "Volker Klink" <klinkv.NOSPAM@yahoo.de>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257330242 6125 172.30.248.38 (4 Nov 2009 10:24:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 10:24:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1174616
Xref: news.mathworks.com comp.soft-sys.matlab:582315


Hi! This is probably very simple but  I#M stuck with it.

I would like to transform a m-by-n-by-x array into a struct.

Length of the struct is supposed to be x and the field 'cdata' is supposed to contain the m-by-n matrices.

--> I want to convert a 3D image array into the required movie structure.

Any ideas?

Thanks
Volker