expression or statement is incomplete or incorrect in cluster ensemble based segmentation code?
조회 수: 2 (최근 30일)
이전 댓글 표시
While implementing the code of k mean cluster segmentation, getting error at
line 77: input:
ima:gray color image .
Error: File: kmeans.m Line: 77 Column: 7
Expression or statement is incomplete or incorrect.
please suggest me how to remove the error?
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 4월 19일
What does
which kmeans
show?
It looks like somehow you are using a version of kmeans.m that has some text that is unexpected on line 77. Either it is your own kmeans.m or the Mathworks-provided kmeans.m has been changed. If it is the Mathworks one then you will need to reinstall that toolbox (or find a backup of the file.) If you are using your own kmeans then either fix it or rename it so the Mathworks one gets used instead.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!