I am trying to train a SVM with the Matlab interface of LibSVM, but I get following error
model = svmtrain(Classes(train),Attributes(train,:),'-s 0 -t 2');
??? Error using ==> svmtrain at 172 Group must be a vector.
See also comment here: support vector machines in matlab