1.Error using ==> svmtrain Function "mxGetIr_700" is obsolete in file ".\compat32.cpp", line 282.(64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option.
解决措施是重新编译这些文件,在命令行中做如下命令(具体原因,暂时还没搞明白,搞明白就回来说明~):
mex -O -largeArrayDims -c svm.cpp
mex -O -largeArrayDims -c svm_model_matlab.c
mex -O -largeArrayDims svmtrain.c svm.obj svm_model_matlab.obj
mex -O -largeArrayDims svmpredict.c svm.obj svm_model_matlab.obj
mex -O -largeArrayDims libsvmread.c
mex -O -largeArrayDims libsvmwrite.c