Haar Features Model formation in Matlab-A part of Image Processing

If anybody here can help me find out some detailed information about the step by step procedure to carry out object detection feature set preparation or Haar feature preparation from demo images using Matlab s/w that means I need some available code of work of someone and a flow how to compile the given available code, like the one Boosting code I am having but don’t know in which order or how to compile this code->http://www.mathworks.com/matlabcentral/fileexchange/29245-boosting-demo