yjwx18
2008-03-09, 07:34
我下载了一个osu-svm ,然后在我的linux上面运行他附带的demo, error code 如下.但是这个code 在我我的windows环境下面没有问题,我猜想是dll或者 mex文件的问题,是不是系统编译的时候有出入啊,我试着用mex-setup设置了compiler,但是还是有问题。有没有高手帮帮我呢?小女这里有理了 ^^我用的是2007b,谢谢大家!!!
% Constructing using the most simple format.
% By using this format, the default values of C, Epsilon, CacheSize
% are used. That is, C=1, Epsilon=0.001, and CacheSize=35MB
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = LinearSVC(Samples, Labels);
??? Undefined function or method 'LinearSVC' for input arguments of type 'double'.
Error in ==> c_lindemo at 50
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = LinearSVC(Samples, Labels);
Error in ==> c_svcdemo at 25
eval(demos)
Error in ==> osusvmdemo at 23
eval(demos)
% Constructing using the most simple format.
% By using this format, the default values of C, Epsilon, CacheSize
% are used. That is, C=1, Epsilon=0.001, and CacheSize=35MB
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = LinearSVC(Samples, Labels);
??? Undefined function or method 'LinearSVC' for input arguments of type 'double'.
Error in ==> c_lindemo at 50
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = LinearSVC(Samples, Labels);
Error in ==> c_svcdemo at 25
eval(demos)
Error in ==> osusvmdemo at 23
eval(demos)