MATLAB Answers

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

1 view (last 30 days)
Kelly Kyriakou
Kelly Kyriakou on 27 Nov 2015
Commented: Kelly Kyriakou on 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.

Answers (1)

Walter Roberson
Walter Roberson on 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 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!