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

2 visualizaciones (últimos 30 días)
huda nawaf
huda nawaf el 18 de Sept. de 2015
Respondida: Walter Roberson el 18 de Sept. de 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{:});

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Sept. de 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.


Más información sobre MATLAB Compiler en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by