From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Temporary output when assigning into slices?
Date: Sun, 27 Jan 2013 08:53:07 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 7
Message-ID: <ke2ptj$cua$>
References: <kdpbb4$gtp$> <kdpg30$6gl$> <kdpja4$jnk$> <kdpk0k$mmi$> <kdpkhg$p22$> <kdprb0$ka6$> <kdptm0$rtt$> <kdpuef$118$> <kdrm3k$ecb$> <kdrprk$dq$>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1359276787 13258 (27 Jan 2013 08:53:07 GMT)
NNTP-Posting-Date: Sun, 27 Jan 2013 08:53:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: comp.soft-sys.matlab:787479

"Matt J" wrote in message <kdrprk$dq$>...
> In fact, I just tested it with R2012b and I see the same relative performance. So, I still think SUBSREF ops always allocate memory.

I did some other tests and it looks like you are right.