Invalid mex file error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
When I run the following code statement: model = svmtrain(labels, data, '-s 0 -t 2 -c 1 -g 0.1');
I get error: Invalid MEX-file 'C:\Program Files\libsvm-3.21\windows\svmtrain.mexw64': The specified procedure could not be found.
I tried all the ways to fix it, set the folder to matlab path, but couldn't understand where the problem is.
Please advise.
0 Kommentare
Antworten (1)
Walter Roberson
am 16 Jan. 2017
svmtrain.mexw64 needs a DLL that you do not have (or which cannot be found.)
You should either use a tool such as Dependency Walker to track down the missing DLL, or else you should use the Statistics toolbox with R2013b or later, which has SVM built in.
2 Kommentare
Walter Roberson
am 19 Jan. 2017
Sorry, I do not have a compiler set up on my Windows virtual machines, so I cannot build libsvm.
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!