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

2 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Walter Roberson
Walter Roberson am 27 Nov. 2015
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 Kommentare
Walter Roberson
Walter Roberson am 27 Nov. 2015
Ah. The problem is solved for your purposes then?
Kelly Kyriakou
Kelly Kyriakou am 28 Nov. 2015
Yes I suppose, but I can't understand the reason...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Text Data Preparation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by