wordcloud Function not working!

13 ビュー (過去 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 Center および File ExchangeCreating, 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