Unable to import txt file

3 views (last 30 days)
I tried earlier on with the exact same code and it works. However, it came out with this error when I tried again.
  2 Comments
Ng Yong Jie
Ng Yong Jie on 25 Jan 2022
that is the only line of error

Sign in to comment.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!