I have a Matlab file containing a 750x1 double struct. All cells contain the number "18"
I load this file in Python, using:
loadmat(file_name, squeeze_me=True, struct_as_record=False)
To my surprise, all cells in the resulting numpy.ndarray contain the number "19" (dtype int)
I have tried to set mat_dtype=True
, but the only difference is the resulting type. The import is still cells containing "19" instead of "18".
Anyone has a clue why this roundup/increment is happening?