Problems loading factoryReports.csv example
29 views (last 30 days)
Show older comments
Stephen Gray
on 14 Oct 2024
Answered: Christopher Creutzig
on 22 Oct 2024
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
0 Comments
Accepted Answer
Star Strider
on 14 Oct 2024
According to the documentation, it should exist, and definitely should exist here, online.
Check_Train = which('train.mat')
filename = "factoryReports.csv";
fullpath = which(filename)
whos(filename)
data = readtable(filename,TextType="string");
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 Comments
More Answers (1)
Christopher Creutzig
on 22 Oct 2024
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.
0 Comments
See Also
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!