Parfor Problems

HeyI have got a weird problem... my for loop is working just fine. But whenever i am trying to use parfor, It claims that there is an error in one of the sub-functions (" Index exceed matrix dimensions").