Wrong Date format with Readtable for CSV

6 views (last 30 days)
Logesh Velusamy
Logesh Velusamy on 29 Nov 2019
Commented: dpb on 29 Nov 2019
Hello,
I am trying to import multiple csv files into matlab with Date/Time and other data to plot. READTABLE (including date/time format specified) works fine for data files which have dates greater than 13 but not for anything below 13 as it converts to different format irrespective of me defining the format upfront.
Can anybody help me to solve this issue.
  10 Comments
Logesh Velusamy
Logesh Velusamy on 29 Nov 2019
Stephen Cobeldick, dpb
Thanks for your help guys, I will try fixing this in the export software.
dpb
dpb on 29 Nov 2019
Will that impact the date formatting even though I am not using time column?
You can, of course, simply ignore the time column, but if you do all the data for the given day will be plotted on top of itself as a blob of points. If that's the intent, ok; if not, "not so much".

Sign in to comment.

Answers (0)

Categories

Find more on Data Type Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!