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

조회 수: 2 (최근 30일)
huda nawaf
huda nawaf 2015년 9월 18일
답변: Walter Roberson 2015년 9월 18일
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{:});

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 18일
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