Problem with dll files

13 次查看(过去 30 天)
Shamim
Shamim 2011-9-15
Hi My project is in Image processing. It's about Signature Identification with SVM Classifier.There are some files with dll postfix that should assign some arguments during call but the files aren't called unfortunatelyl!!! please help me
  3 个评论
Shamim
Shamim 2011-9-15
my project have 2 part:Train and Test,in part Train we call SVMTrain Function:
function [AlphaY, SVs, Bias, Parameters, nSV, nLabel] = SVMTrain(Samples, Labels, Parameters, Weight)
During this function ,it calls mexSvmTrain.m
line 133: [AlphaY, SVs, Bias, Parameters, nSV, nLabel] = mexSVMTrain(Samples, Labels, Parameters);
and my problem is here!!
% Train SVM
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = SVMTrain(x, y, param);
And the errors:
Error in ==> mexSVMTrain at 1
function [AlphaY, SVs, Bias, Parameters, nSV, nLabel] = mexSVMTrain(Samples, Labels, Parameters, Weight, Verbose)
??? Output argument "AlphaY" (and maybe others) not assigned during call to "C:\work\svm\mexSVMTrain.m>mexSVMTrain".
Error in ==> SVMTrain at 113
[AlphaY, SVs, Bias, Parameters, nSV, nLabel] = mexSVMTrain(Samples, Labels, Parameters);
Shamim
Shamim 2011-9-15
and i forgot to say that mexSVMTrain.m include mexSVMTrain.dll
and i think the problem is this:call mexSVMTrain.dll

请先登录,再进行评论。

回答(2 个)

Muhammad Sharif
Muhammad Sharif 2012-5-1
I am facing the same problem... help is required... thanks

Ken Atwell
Ken Atwell 2012-5-2
Is this question referring to the software found at <http://www.codeforge.com/article/184645>?
Assuming is it, this software and MEX binaries date from 2002, and I rather doubt it would drop cleanly into any modern-vintage release of MATLAB. To start, the file extension for a MEX-File is no longer .dll. A recompiling is in order, but...
I don't see the C source code for mexSVMTrain, so it is unclear how it could be recompiled.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by