Today, when I ran the code of the article "robust Object Tracking via sparsity-based collaborative Model", I found the following error occurred:
Found error due to vgg_kmiter this C-type function, so Baidu view first off knowledge, the original is not compiled vgg_kmiter caused by errors, and this point: because the high MATLAB version no longer support mxcreatescalardouble, and is changed to Mxcreatedoublescalar, so to all the CPP source files appear mxcreatescalardouble all replaced.
The process of compiling the CPP file is as follows, first enter the Mex-setup in the Comman window, you will get the following prompt:
Below we directly point y, select the compiler is, and finally get this result, we compiled the successful
At this point we only need the Mex Vgg_kmiter.cxx, if the cursor flashing indicates that the compilation was successful:
Compiling C + + files in matlab