Importing a CSV into a Timetable

조회 수: 4 (최근 30일)
Isaac Lau
Isaac Lau 2019년 6월 27일
편집: Stephan 2019년 6월 27일
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.....

채택된 답변

Stephan
Stephan 2019년 6월 27일
편집: Stephan 2019년 6월 27일

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by