MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Indexing of PARFOR reduction variables 

Subject: Indexing of PARFOR reduction variables From: Matt J Date: 17 Nov, 2010 20:42:04 Message: 1 of 6 
I've just discovered that reduction assignments inside PARFOR loops cannot involve indexing. For example, the following two parfor loops attempt equivalent computations, but only the first one runs errorfree 
Subject: Indexing of PARFOR reduction variables From: Sean de Date: 17 Nov, 2010 21:05:05 Message: 2 of 6 
"Matt J " 
Subject: Indexing of PARFOR reduction variables From: Matt J Date: 17 Nov, 2010 21:30:25 Message: 3 of 6 
"Sean de " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <ic1g21$q1m$1@fred.mathworks.com>... 
Subject: Indexing of PARFOR reduction variables From: Sean de Date: 17 Nov, 2010 21:49:27 Message: 4 of 6 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ic1hhg$4ro$1@fred.mathworks.com>... 
Subject: Indexing of PARFOR reduction variables From: Sean de Date: 17 Nov, 2010 22:08:03 Message: 5 of 6 
"Sean de " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <ic1il7$ia1$1@fred.mathworks.com>... 
Subject: Indexing of PARFOR reduction variables From: Matt J Date: 17 Nov, 2010 23:14:05 Message: 6 of 6 
"Sean de " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <ic1jo3$4u2$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.