Unable to import txt file

2 次查看(过去 30 天)
I tried earlier on with the exact same code and it works. However, it came out with this error when I tried again.
  2 个评论
KSSV
KSSV 2022-1-25
Is that the error? Or more lines shown? Is the said folder present in the path?
Ng Yong Jie
Ng Yong Jie 2022-1-25
that is the only line of error

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2022-1-25
train = fullfile(dataFolder, "train_FD001.txt");
[train_data1, train_labels1] = importdata(train)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by