I got message error when add evalclusters function to my ver.

2 vues (au cours des 30 derniers jours)
huda nawaf
huda nawaf le 18 Sep 2015
Hi all, i add evalclusters functions to matlab ver. 2012a but when I ran it, I got this error message:
Undefined variable "clustering" or class "clustering.evaluation.SilhouetteEvaluation".
Error in evalclusters (line 174) obj = clustering.evaluation.SilhouetteEvaluation(X,YorFun,varargin{:});

Réponses (1)

Walter Roberson
Walter Roberson le 18 Sep 2015
evalclusters was introduced in R2013b. If you copied an R2013b or later evalclusters to your R2012a MATLAB then you are missing the supporting code needed to make evalclusters work.
Note: it would be a copyright violation to copy a newer toolbox function to an older MATLAB without permission from Mathworks.

Community Treasure Hunt

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

Start Hunting!

Translated by