Unable to import txt file

4 views (last 30 days)
Ng Yong Jie
Ng Yong Jie on 25 Jan 2022
Answered: Walter Roberson on 25 Jan 2022
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)

Categories

Find more on Large Files and Big Data 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!