MATLAB File Help: cv.KNearest/getVarCount Index
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