If you want to modify values inside of a struct in an h5 file, this code may help you. This simple script overwrites a compound dataset using the low-level functions for hdf5 operations. It is not possible to change the size or datatype of the compound dataset, but only replace values.
Renato Medeiros (2020). Edit_struct_hdf5 (https://www.mathworks.com/matlabcentral/fileexchange/70392-edit_struct_hdf5), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!