MATLAB Answers

Reading corrupted csv file into matlab

5 views (last 30 days)
Carlos
Carlos on 19 Mar 2016
Commented: Stephen Cobeldick on 19 Mar 2016
Greetings. I have a csv file I acquire from a GPS tracking device. Sometimes the data is written incorrectly to the csv file and a few lines get merged together.
Here is an example:
I would like to read in these csv file and get rid of these corrupted rows. Any ideas on how to get this done? Thanks!

  1 Comment

Stephen Cobeldick
Stephen Cobeldick on 19 Mar 2016
Please edit your question and upload a sample file for us to look at: click the paperclip button, then both Choose file and Attach file buttons.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!