Tables: Transform Variablenames
Ältere Kommentare anzeigen
Hi
I downloaded data from an excel worksheet to matlab. Matlab creates a table. Matlab inserts the first row of the data in excel (which are dates in the format 2/28/2019) as the variable names in the format x2_28_2019. Isn't it possible to extract the original variable names in Properties.VariableDescriptions (without mentioning "Original column heading:"). So that I can transform the dates coming from excel to dateformat in matlab?
Akzeptierte Antwort
Weitere Antworten (1)
...,'ReadVariableNames',0); % use the named parameters as needed
See
doc readtable
Also, in general,
doc detectImportOptions
and Matlab will probably auto-detect the situation for you...
Kategorien
Mehr zu Tables finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!