Unable to import txt file

1 visualización (últimos 30 días)
Ng Yong Jie
Ng Yong Jie el 25 de En. de 2022
Respondida: Walter Roberson el 25 de En. de 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 comentarios
KSSV
KSSV el 25 de En. de 2022
Is that the error? Or more lines shown? Is the said folder present in the path?
Ng Yong Jie
Ng Yong Jie el 25 de En. de 2022
that is the only line of error

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by