NaT in Datetime Import Data
Afficher commentaires plus anciens
I'm trying to import data and catagorise them as Datetime but the data keeps getting replaced by NaT, very confused as my formatting seems to be correct. Any help?
3 commentaires
KSSV
le 13 Oct 2021
How are you trying to importing? How is your data? Show us your code snippet and data.
Alana Mera
le 13 Oct 2021
Star Strider
le 13 Oct 2021
Post the relevant parts of your code as text (rather than attaching it as a .m file)
Attach (upload) at least one of the .csv files
Réponses (1)
KSSV
le 13 Oct 2021
Try using readtable. Read about it.
T = readtable('myfile.xlsx') ;
Catégories
En savoir plus sur Dates and Time 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!
