I'm using libSVM, svmtrain function in matlab takes less time than C. Although C -in general- is much faster than matlab. Both classifiers take the same parameters and return the same number of SVMs with the same number of iterations.
Here is the code in both: Matlab:
t1=cputime;
model = svmtrain(Labels,data, '-h 0 -s 0 -c 0.025 -n 0.01 -b 1 -t 0 -d 1 -p 0.001');
t2=cputime;
fprintf('Elapsed time=%.3f\n',t2-t1)
AND C code:
clock_t begin = clock();
model = svm_train(&prob,¶m);
clock_t end = clock();;
double time_spent = (double)(end - begin) / double(CLOCKS_PER_SEC);