Problems loading factoryReports.csv example

조회 수: 27 (최근 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 CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by