wordcloud Function not working!

조회 수: 7 (최근 30일)
Abhishek Kuamr
Abhishek Kuamr 2021년 5월 18일
댓글: Nicholas Ang 2021년 6월 7일
I am opening the example file and it is still giving me this error. This is happening in every example file with wordcloud function. Can somebody please help!

채택된 답변

Steven Lord
Steven Lord 2021년 5월 18일
Let's make sure you don't have a wordcloud.m file that's taking precedence over the function by that name in MATLAB. What does this display?
which -all wordcloud
Also, what is the class of the textData variable with which you call wordcloud?
class(textData)
Is it a table array, a categorical array, a string vector, a cell vector containing char vectors, or something else?
  댓글 수: 2
Abhishek Kuamr
Abhishek Kuamr 2021년 5월 18일
Hello,
Thanks for the help.
I don't have any other .m file by wordcloud name.
C:\Program Files\MATLAB\R2021a\toolbox\matlab\specgraph\wordcloud.m
C:\Program Files\MATLAB\R2021a\toolbox\textanalytics\textanalytics\tokenizedDocument.m % tokenizedDocument method
C:\Program Files\MATLAB\R2021a\toolbox\textanalytics\textanalytics\@bagOfWords\bagOfWords.m % bagOfWords method
C:\Program Files\MATLAB\R2021a\toolbox\textanalytics\textanalytics\ldaModel.m % ldaModel method
C:\Program Files\MATLAB\R2021a\toolbox\matlab\bigdata\@tall\wordcloud.m % tall method
Also the class is string.
Nicholas Ang
Nicholas Ang 2021년 6월 7일
Hi, I have the same error even after reading your advice. I also tried reinstalling the entire toolbox. I still get the same error for the examples shown in matlab.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by