Path: news.mathworks.com!not-for-mail
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$1@newscl01ah.mathworks.com>
References: <kdpbb4$gtp$1@newscl01ah.mathworks.com> <kdpg30$6gl$1@newscl01ah.mathworks.com> <kdpja4$jnk$1@newscl01ah.mathworks.com> <kdpk0k$mmi$1@newscl01ah.mathworks.com> <kdpkhg$p22$1@newscl01ah.mathworks.com> <kdprb0$ka6$1@newscl01ah.mathworks.com> <kdptm0$rtt$1@newscl01ah.mathworks.com> <kdpuef$118$1@newscl01ah.mathworks.com> <kdrm3k$ecb$1@newscl01ah.mathworks.com> <kdrprk$dq$1@newscl01ah.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1359276787 13258 172.30.248.45 (27 Jan 2013 08:53:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 27 Jan 2013 08:53:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:787479

"Matt J" wrote in message <kdrprk$dq$1@newscl01ah.mathworks.com>...
> 
> 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.

Bruno