Clear Filters
Clear Filters

How to save mat files as h5 files?

9 views (last 30 days)
Gordon
Gordon on 18 Nov 2022
Commented: Gordon on 20 Nov 2022
I have cell arrays saved as a .mat file and I want to transform this into a .h5 file.
How do I transform a .mat file into a .h5 file?
I have read that we should try to use hdf5write or h5write to do so, but I do not understand how to use these functions.
I am trying to use a code written by a colleague that processes data as .h5 files , but does not do so with .mat files, unfortunately my data is all in .mat files.
  2 Comments
Gordon
Gordon on 20 Nov 2022
Thankyou for your help. My problem is that I do not understand how to correctly use the h5read and h5create functions.
I have attempted loading my file, but because it is a 1x1 struct with 70 fields, I don't know what to do.

Sign in to comment.

Answers (0)

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!