I have a .mat file that contains two DateTime arrays in string format. The arrays are like:
A = ["15-Nov-2014 22:42:16",
"16-Dec-2014 04:14:07",
"20-Jan-2015 17:05:32"]
I saved the two String arrays in a .mat file. I tried to load them in Python with this command:
import hdf5storage
Input = hdf5storage.loadmat('Input.mat')
or this command:
import scipy
Input = scipy.io.loadmat('Input.mat')
Both lead to reading a dictionary in Python which is expected but I cannot see the name of the two arrays as the dictionary keys.
Any ideas?
matfile is not in HDF5 format, and the strings in Python are read inutf-16format (numpy array of type'<U20').