Azzera filtri
Azzera filtri

Unable to import txt file

2 visualizzazioni (ultimi 30 giorni)
Ng Yong Jie
Ng Yong Jie il 25 Gen 2022
Risposto: Walter Roberson il 25 Gen 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 Commenti
KSSV
KSSV il 25 Gen 2022
Is that the error? Or more lines shown? Is the said folder present in the path?
Ng Yong Jie
Ng Yong Jie il 25 Gen 2022
that is the only line of error

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by