필터 지우기
필터 지우기

Reading a large text file with 3652500 rows and 8 columns

조회 수: 1 (최근 30일)
Damith
Damith 2014년 5월 22일
댓글: per isakson 2014년 5월 22일
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.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 5월 22일
data=importdata('sample.txt')
  댓글 수: 2
Damith
Damith 2014년 5월 22일
This resulted,
data = 1x1 cell in that cell @BCDE is written. Data matrix should ne 3652500 x 8.
Any idea?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by