Last active
January 29, 2018 08:56
-
-
Save dims12/4458d66e2e4a2a4013ccf77b50771fe1 to your computer and use it in GitHub Desktop.
Example of CSV which is differently processed in Matlabs 2015 and 2016
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID;Timestamp;Duration;MainStatus;SubStatus;IsMaintainance;IsFault;IsWarning;IsActive | |
CODE1;2014-01-01 00:00:00.000;3;0;0;0;0;0;0 | |
CODE2;2014-01-01 00:00:02.000;119;0;0;0;0;0;0 | |
CODE3;2014-02-06 19:44:16.000;70;0;1;0;0;0;0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = 'example.csv'; | |
data = readtable(f, 'Delimiter', ';'); | |
class(data.IsFault) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment