支持向量机的matlab 代码 Matlab 中关于evalin 帮助: EVALIN(WS,'expression') evaluates 'expression' in the context of the workspace WS
WS can be 'caller' or 'base'
It is similar to EVAL except that you can control which workspace the expression is evaluated in
[X,Y,Z,
] = EVALIN(WS,'expression') returns output arguments from the expression
EVALIN(WS,'try','catch') tries to evaluate the 'try' expression and if that fails it evaluates the 'catch' expression (in the current workspace)
可知evalin('base', 'algo')是对工作空间base 中的algo 求值(返回其值)
0 以上版本 >>edit svmtrain >>edit svmclassify >>edit svmpredict function [svm_struct, svIndex] = svmtrain(training, groupnames, varargin) %SVMTRAIN trains a su