title: Matlab parallel programming
body: <p>First of all, sorry for the general title and, probably, for the general question.</p>
  
  <p>I'm facing a dilemma, I always worked in c++ and right now I'm trying to do something very similar to one of my previous projects, which is to parallelize a single-target object tracker written in matlab in order to assign to each concurrent thread an object and then gather the results at each frame. In c++, I used boost thread API to do so, and with good results. Is it possibile in matlab? Reading around I'm finding it rather unclear, I'm reading a lot about the <code>parfor</code> loop but that's pretty much it? Can I impose synchronization barriers similar to <code>boost::barrier</code> in order to stop each thread after each frame and wait for other before going to the next frame?</p>
  
  <p>Basically, I wish to initialize some common data structures and then launch a few parallel instances of the tracker, which shares some data and take different objects to track as input. Any suggestion will be greatly appreciated!</p>