I have the following excel file (ejemplo.xlsx) where the first column is date (format yyyy-MM-dd) , the second start hour and the third is last hour. How can I tell Matlab that the second and third columns are datetime variables? I tried the following code but is not working.
Ej = readtable('Ejemplo.xlsx'); ej = table2timetable(Ej); ej= datetime(ej.StartTime,'Format','HH:mm')
Thanks in advance!
Best Answer