Problem with dll files

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 Commenti

Kaustubha Govind
Kaustubha Govind il 15 Set 2011
Your question isn't clear. Perhaps you should include code snippets and error messages (if any).
Shamim
Shamim il 15 Set 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 il 15 Set 2011
and i forgot to say that mexSVMTrain.m include mexSVMTrain.dll
and i think the problem is this:call mexSVMTrain.dll

Accedi per commentare.

Risposte (2)

Muhammad Sharif
Muhammad Sharif il 1 Mag 2012

0 voti

I am facing the same problem... help is required... thanks
Ken Atwell
Ken Atwell il 2 Mag 2012

0 voti

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.

Categorie

Tag

Richiesto:

il 15 Set 2011

Community Treasure Hunt

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

Start Hunting!

Translated by