Original, reprint please specify the Source: http://blog.csdn.net/zhuzhudeailnn/article/details/8853585
Configuration of the running environment of TLD of MATLAB:
Installation environment: Maid, opencv2.2, vs2008 (or any compilation tool with VC ++)
Installation Process:
1.Install MATLAB and(Vs pathStrongly recommendedUse the default installation path (that is, the Directory of the C disk. Do not change it. Otherwise, it is easy for MATLAB to find the compilation tool when configuring the compilation tool)
2.Install opencv2.2(The installation path of opencv2.2 is also set as the default installation path, that is, c: \ opencv2.2)
During installation, You must select "add opencv to system path", as shown in:
Click Next to complete the installation.
3. Configure the compilation tool for Matlab
In the MATLAB command window, enter Mex-setup (Note that there are spaces in the middle): As shown in: the red box in the figure requires manual input.
4.Run TLDProgram:
1) Select compile. m in the project and click "run" to initialize the work environment.
2) Select run_tld.m and click "run" to run the program.
See: http://download.csdn.net/detail/zhuzhudeailnn/5303068 PDF download