HOw to convert structured .mat (matlab) file into HDF5 file with the same hierarchy.
Is there any direct or indirect way of conversion of .mat structured file into HDF5 format.
24.05.2018 9:56, Sumit пишет:
HOw to convert structured .mat (matlab) file into HDF5 file with the
Is there any direct or indirect way of conversion of .mat structured
file into HDF5 format.
modern MATLAB .mat files are actually HDF5 files, so no conversion is
But I am having some .mat (matlab) files from past data and I need to use them using HDF5 format.So is there any solution for this thing.
I tried to read the .mat file using python but,As it is a structured file so not able to retain the structure of the file in python. I just want to convert .mat to HDF5 preserving its same skeleton/architecture
Hello!ould it be possible for you to open the file in MATLAB, set up a prroperty to dave in HDF5 and save it? Will structure be preserved?
If this doesn’t work, I would suggest to post the question on the Mathworks mailing lists.
Thanks for your help, sure I will check.
But I my aim is to convert .mat to HDF5 without using matlab.
Can I use python or R or any other scripting language for this conversion purpose.
You could use Octave I guess. It supports reading .mat files and can save .hdf5.
Matlab does store data in a peculiar way. You need to access data using HDF5
This stackoverflow question (which is answered) is probably your best starting