Matlab parallel programming: parfor issues

If you ever used OpenMP, you probably know, that this specification is extremely easy to use and very helpful in many cases. Now, when parallel programming is becoming more and more common, this is definitely one of the ways to go.

Mathworks decided to follow the trend and developed Parallel Computing Toolbox, that has implementation of parallel for (simply parfor). Unfortunately, there are some serious issues with it, and I will describe them further...