How to store Matlab datetime data type in hdf5
Ältere Kommentare anzeigen
Hi,
I'm new to using the hdf5 data format and am wondering how best to store timestamp information in an efficient manner. The process for me has been that the raw data files are in ascii, I then have a script which reads them in to matlab data structure, but one of the slower steps is converting the ascii timestamps (e.g. '2019-12-25T17:15.1235') into matlab datetime.
Ideally, I'd like to switch over to using hdf5 instead of ascii for the raw data sets, but would like to have an efficient way of writing/reading timestamp data. Note that the data can have high sample rates, so the timestamps can have several decimal places for the seconds.
thanks!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu HDF5 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!