MATLAB: How to track a moving object in a live camera

Computer Vision Toolboxobject tracking

I use matlab code to turn on the camera. it should track the moving object( 2 persons are walking). how to track it. i use 2012a version
Related Question