// /Applications/MATLAB_R2013a.app/extern/include/tmwtypes.h:819:9: error: unknown type name 'char16_t'
replace 10.7 with 10.11 in all of them (macosx10.... link
Installing libsvmon my MATLAB_R2013a.app I had some compilation problems.
to rename svmtrain to libsvmtrain to avoid shaddowing original matlab's svmtrain:
rename svmtrain.c file to libsvmtrain.cin make.m also change libsvmtrain and libsvmpredict in mex file call.
rename libsvmpredict.c file to libsvmpredict.c
>> cd bin
>> edit mexopts.sh
>> edit egnopts.sh
>> edit matopts.sh
$ /Applications/MATLAB_R2013a.app/bin/matlab -nodisplay
// typedef char16_t CHAR16_T;
To avoid this edit the make file of libsvm and add -Dchar16_t=uint16_t option to all mex calls. link
Addpath libsvm-3.21/matlab/ before calling
After testing you get (n choose 2) probbalities or decision values. where if positive it means it belongs to class +1 and if negative it belongs to class -1 in n choose k 2-way classifiers.