필터 지우기
필터 지우기

How to read a csv with 30000 rows of data which are both numbers and texts?

조회 수: 4 (최근 30일)
Kelly Kyriakou
Kelly Kyriakou 2015년 11월 27일
댓글: Kelly Kyriakou 2015년 11월 28일
How I can read a csv which contains about 30.000 rows of data that are both text and numbers? I have tried with xlsread and readtable commands but it stores the first 12650 rows.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 11월 27일
You will probably need to use textscan()
Does the file have the same number of fields on each line?
Is it possible that the file changes formats after 12650 lines?
  댓글 수: 4
Walter Roberson
Walter Roberson 2015년 11월 27일
Ah. The problem is solved for your purposes then?
Kelly Kyriakou
Kelly Kyriakou 2015년 11월 28일
Yes I suppose, but I can't understand the reason...

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

카테고리

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