Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Kelly Kyriakou
Kelly Kyriakou le 27 Nov 2015
Commenté : Kelly Kyriakou le 28 Nov 2015
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.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Large Files and Big Data dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by