Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Preallocating structures
Date: Tue, 17 Mar 2009 22:14:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 9
Message-ID: <gpp7b9$n5f$1@fred.mathworks.com>
References: <gpovld$r76$1@fred.mathworks.com> <gpp0p9$glf$1@fred.mathworks.com> <gpp1n9$lfi$1@fred.mathworks.com> <gpp2fl$eb6$1@fred.mathworks.com> <gpp3jb$1rq$1@fred.mathworks.com> <gpp71t$3lu$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1237328041 23727 172.30.248.35 (17 Mar 2009 22:14:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 17 Mar 2009 22:14:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:525680

"Bruno Luong"
> Or if you prefer a condensed horrible single statement: 
> myStructure.Channel=struct('Unit', ...
>     repmat({struct('Trial', ...
>             repmat({zeros(100,1)},5,1))},96,1));

(i guess) that's exactly what my solution does - only in a more versatile way...

us