Filter löschen
Filter löschen

importing data with dates from excel

1 Ansicht (letzte 30 Tage)
Robert Booth
Robert Booth am 21 Aug. 2016
Kommentiert: Azzi Abdelmalek am 21 Aug. 2016
How to import data from excel spread sheet and preserve date format and time of day format

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 21 Aug. 2016
[~,~,data]=xlsread('yourfile')
  1 Kommentar
Azzi Abdelmalek
Azzi Abdelmalek am 21 Aug. 2016
Robert commented
Thank you.Unfortunately does not work. If I use 'import data' facility, the table is imported but under date column the title 'date' is replaced by NaN and the actual dates are converted to [Type:Number,value:nnnnn.0]. However, the other information in the table is imported and tabulated correctly.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by