Problem with dll files

조회 수: 12 (최근 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