Win7下Matlab中使用Visual Studio 2010编译Opencv的Mex文件
编译命令:mex testmex.cpp -I"C:\opencv24\opencv\build\include" -I"C:\opencv24\opencv\build\include\opencv" -L"C:\opencv24\opencv\build\x64\vc10\lib" -lopencv_core241 -lopencv_highgui241 -lopencv_imgproc2