libsvm in MATLAB for Mac OS X

I know this might not be the most appropriate place to ask this question - but I can't think where else to turn, and Google doesn't seem to know the answer.
Has anyone used libsvm to classify their results? I am having big problems installing this for Mac OS X, so if anyone has any experience, I would be happy to hear from you!
Step-by-step instructions would be wonderful...
Thanks!

Answers (1)

Andrew Newell
Andrew Newell on 20 May 2011
Maybe you need to install XCode, as suggested in this post.

3 Comments

Thanks for your response. Yes, I do have Xcode installed, but it still fails to work.
When I navigate to the 'libsvm' directory, and then type 'make' I get the following:
$ make
g++ -Wall -Wconversion -O3 -fPIC -c svm.cpp
g++ -Wall -Wconversion -O3 -fPIC svm-train.c svm.o -o svm-train -lm
g++ -Wall -Wconversion -O3 -fPIC svm-predict.c svm.o -o svm-predict -lm
g++ -Wall -Wconversion -O3 -fPIC svm-scale.c -o svm-scale
However, when I try to use the 'svm-train' file I get the error "svm-train: command not found"...
Have you tried contacting MATLAB Support?
Not yet. I wasn't convinced that they would be able to help with the installation of third-party software... But seeing as I can't find a complete guide anywhere, I may try to contact them and see what they say.

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 18 May 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!