Problems loading factoryReports.csv example

28 ビュー (過去 30 日間)
Stephen Gray
Stephen Gray 2024 年 10 月 14 日
回答済み: Christopher Creutzig 2024 年 10 月 22 日
Hi
I've just purchased the Text Analytics module and am trying out one of the demos which uses factoryReports.csv. I've downoaded and installed the new exe contining the module and have installed it but on searching my machine, I cannot find that file anywhere. It seems like it wasn't installed so can I get it anywhere else?
SPG

採用された回答

Star Strider
Star Strider 2024 年 10 月 14 日
According to the documentation, it should exist, and definitely should exist here, online.
Check_Train = which('train.mat')
Check_Train = '/MATLAB/toolbox/matlab/audiovideo/train.mat'
filename = "factoryReports.csv";
fullpath = which(filename)
fullpath = 0x0 empty char array
whos(filename)
data = readtable(filename,TextType="string");
Error using readtable (line 517)
Unable to find or open 'factoryReports.csv'. Check the path and filename or file permissions.
head(data)
However it doesn’t seem to be available.
(Another supplied file, ‘train.mat’ is apparently available.)
I suggest that you Contact Support and report this as a bug. (I don’t have the Text Analytics Toolbox, so I can’t test this on my own computer.)
.
  2 件のコメント
Stephen Gray
Stephen Gray 2024 年 10 月 14 日
Thanks for checking.
SPG
Star Strider
Star Strider 2024 年 10 月 14 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (1 件)

Christopher Creutzig
Christopher Creutzig 2024 年 10 月 22 日
In recent MATLAB versions, most example data is installed inside the example, not globally.
When you open the example, you should see the CSV file in the file browser, which by default is on the left side of your MATLAB window.

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by