Problem with dll files

12 Ansichten (letzte 30 Tage)
Shamim
Shamim am 15 Sep. 2011
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 Kommentare
Shamim
Shamim am 15 Sep. 2011
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 am 15 Sep. 2011
and i forgot to say that mexSVMTrain.m include mexSVMTrain.dll
and i think the problem is this:call mexSVMTrain.dll

Melden Sie sich an, um zu kommentieren.

Antworten (2)

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

Ken Atwell
Ken Atwell am 2 Mai 2012
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by