HDF5 info structure

34 次查看(过去 30 天)
Snyder
Snyder 2024-11-8,10:27
编辑: Aneela 2024-11-8,10:33
I’m able to load and edit HDF5 files with h5info and hdf5info, and I need to keep the structure as one group and two datasets. How do I modify the values within the structure, and then save and close it ?

采纳的回答

Aneela
Aneela 2024-11-8,10:31
编辑:Aneela 2024-11-8,10:33
To modify values within an HDF5 file in MATLAB while maintaining its structure, you can use the "h5read" and "h5write" functions.
  1. Read the existing datasets using "h5read".
  2. Make the necessary changes to the datasets in MATLAB.
  3. Update the datasets in the HDF5 file using "h5write".
Refer to the following MathWorks documentation links for more information on "h5read" and "h5write" respectively:

更多回答(0 个)

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by