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


Awesome! Works perfectly! Thanks for that quick solution! (I love this newsgroup!)

> A=rand(2,2,3)
> s=struct('cdata',squeeze(num2cell(A,[1 2])))
> % Bruno