- Read the existing datasets using "h5read".
- Make the necessary changes to the datasets in MATLAB.
- Update the datasets in the HDF5 file using "h5write".
HDF5 info structure
6 ビュー (過去 30 日間)
古いコメントを表示
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 ?
0 件のコメント
採用された回答
Aneela
2024 年 11 月 8 日
編集済み: Aneela
2024 年 11 月 8 日
Hi @Snyder
To modify values within an HDF5 file in MATLAB while maintaining its structure, you can use the "h5read" and "h5write" functions.
Refer to the following MathWorks documentation links for more information on "h5read" and "h5write" respectively:
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!