Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to import 2gb txt file data into workspace?

1 visualización (últimos 30 días)
fang yu
fang yu el 30 de Abr. de 2021
Cerrada: Stephen23 el 30 de Abr. de 2021
how to import 2gb txt file data into workspace?
The txt file has four columns, 8812616 rows , all of which are pure numbers, are 2gb. The content of the file is on the photo.
I try to use textscan but error using textscan.
too many output arguments.
  2 comentarios
DGM
DGM el 30 de Abr. de 2021
You'd have to post how you were calling textscan for anyone to know why it was wrong.
Also, ~35 characters x 8.8M lines should be around 300MB (assuming 8-bit encoding). Why is the file ~6x larger than expected? Is that any potential source of problems?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by