getVarCount (cv.KNearest) - MATLAB File Help
cv.KNearest/getVarCount

Returns the number of variables in training samples

count = model.getVarCount()

Output

See also
Method Details
Access public
Sealed false
Static false