Importing a CSV into a Timetable
Show older comments
So I'm trying to import a csv into a timetable and seem to be having some trouble....
Been getting this errror:
Unable to detect datetime or duration data
When i use import options, I get:
1x6 VariableImportOptions array with properties:
Variable Options:
(1) | (2) | (3) | (4) | (5) | (6)
Name: 'Date' | 'Open' | 'High' | 'Low' | 'Close' | 'Volume'
Type: 'char' | 'double' | 'double' | 'double' | 'double' | 'double'
FillValue: '' | NaN | NaN | NaN | NaN | NaN
TreatAsMissing: {} | {} | {} | {} | {} | {}
EmptyFieldRule: 'missing' | 'missing' | 'missing' | 'missing' | 'missing' | 'missing'
QuoteRule: 'remove' | 'remove' | 'remove' | 'remove' | 'remove' | 'remove'
Prefixes: {} | {} | {} | {} | {} | {}
Suffixes: {} | {} | {} | {} | {} | {}
A screen shot of how my csv file looks like is the attached png.....
Accepted Answer
More Answers (0)
Categories
Find more on Cell Arrays 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!