How to read time as string data from excel file
Afficher commentaires plus anciens
I used readtable to read time from excel spread sheets. The time was converted to double like e.x. But I want to read time as original form. How does read time as string?
e.x 10:11:09 AM => 0.42858
Réponse acceptée
Plus de réponses (1)
Sulaymon Eshkabilov
le 24 Mai 2021
1 vote
Hi,
You should try using xlsread() in this case. In fact, xlsread is slower than readtable().
Then you can employ datenum() and datestr() if necessary.
Good luck.
1 commentaire
Yasuyuki Hamanaka
le 24 Mai 2021
Catégories
En savoir plus sur Data Type Identification dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
