Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Size-function and ";"
Date: Thu, 29 Oct 2009 11:59:02 +0000 (UTC)
Organization: The MathWorks GmbH
Lines: 23
Message-ID: <hcc026$78b$1@fred.mathworks.com>
References: <hc6rc3$4ji$1@fred.mathworks.com> <hc6scn$cmv$1@news.eternal-september.org> <hc7bdr$mtg$1@fred.mathworks.com> <hc7dg7$p35$1@news.eternal-september.org> <hc7hrj$ru$1@fred.mathworks.com> <hc7ndp$2mp$1@fred.mathworks.com> <hc91ab$a9c$1@fred.mathworks.com> <hc9hp7$iva$1@fred.mathworks.com> <hc9u2u$r25$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 1256817542 7435 172.30.248.35 (29 Oct 2009 11:59:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 Oct 2009 11:59:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 495693
Xref: news.mathworks.com comp.soft-sys.matlab:580922


"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hc9u2u$r25$1@fred.mathworks.com>...
> Dear Adam!
> 
> > No, I haven't filed a bug report. How do I do that? Maybe you, who evidently ran some more extensive bug-analysis would find it easy?
> 
> I filled out the bug report and mentioned, that you have discovered this bug.
> 
> Jan


Thanks, Jan, for reporting this bug to The Mathworks Technical Support!  It's about  the way the JIT/Accelerator treats code with structure based indices.
I verified this behaviour in R2009a and earlier but could not reproduce this issue in R2009b. So an upgrade would help in this case here. For previous versions you have to use one of the following workarounds:

To workaround this issue, use any of the following options:
feature jit off
feature accel off
or, 
feature jitallow structs off

Our development is aware of the indexing issue in combination with the accelerator and resolved most of related issues, but there may be still some left so please report them if you find some others. 

Martin
Technical Support, The MathWorks