Код: Выделить всё
timeend = seconds(123);
save('time.mat', timeend, '-v7.3');
Код: Выделить всё
with h5py.File('time.mat', 'r') as f:
var = f['timeend'][:]
print(list(var))
Код: Выделить всё
[array([3707764736, 2, 1, 1, 1,
1], dtype=uint32)]
Подробнее здесь: https://stackoverflow.com/questions/788 ... rom-python