Reading a large text file with 3652500 rows and 8 columns

2 visualizaciones (últimos 30 días)
Damith
Damith el 22 de Mayo de 2014
Comentada: per isakson el 22 de Mayo de 2014
Hi,
I have a text file without headers.I have 3652500 rows in the text file. How can I read this text file using MATLAB. There is a space column before first column. Sample of the file is attached to see.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Mayo de 2014
data=importdata('sample.txt')
  2 comentarios
Damith
Damith el 22 de Mayo de 2014
This resulted,
data = 1x1 cell in that cell @BCDE is written. Data matrix should ne 3652500 x 8.
Any idea?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by