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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by