How to integrate LIBSVM with Matlab in Windows 32 bit?

조회 수: 2 (최근 30일)
S R
S R 2014년 8월 2일
편집: Walter Roberson 2019년 11월 26일
Hi, I downloaded LIBSVM from https://github.com/tomz/libsvm-ruby-swig . Then copied , libsvmread.mexw32, libsvmwrite.mexw32,libsvmpredict.mexw32,libsvmtrain.mexw32 from C:\libsvm-ruby-swig-master\libsvm-3.1\windows to C:\libsvm-ruby-swig-master\libsvm-3.1\matlab and C:\Program Files\MATLAB\R2012b\bin (I don't know whether this is correct method or not).
Next , I typed
matlab >> make
and I got following error.
LINK : fatal error LNK1104: cannot open file 'libsvmread.mexw32'
C:\PROGRA~1\MATLAB\R2012B\BIN\MEX.PL: Error: Link of 'libsvmread.mexw32' failed.
Next I typed ,
matlab >> mex -setup Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2012b\sys\lcc [2] Microsoft Visual C++ 2008 SP1 in C:\Program Files\Microsoft Visual Studio 9.0
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2008 SP1 Location: C:\Program Files\Microsoft Visual Studio 9.0
Are these correct [y]/n? y >> make LINK : fatal error LNK1104: cannot open file 'libsvmread.mexw32'
C:\PROGRA~1\MATLAB\R2012B\BIN\MEX.PL: Error: Link of 'libsvmread.mexw32' failed.
Again I get the same error. What is wrong with this? Please somebody provide a step by step answer. Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by