struct2hdf5

Converting a matlab struct to a compound HDF5 file. Fields are populated by the struct names.

您现在正在关注此提交

This code is based on sample code from: https://support.hdfgroup.org/HDF5/examples/api18-m.html
The function takes a struct and write to a compound HDF5 file. the fields in the struct will automatically populate in the HDF5. Automatically handles single, double, uint 8,16,32 data types, feel free to add more in the case structure below if your data has different datatypes.

引用格式

Isaac Li (2026). struct2hdf5 (https://ww2.mathworks.cn/matlabcentral/fileexchange/106470-struct2hdf5), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.1

updated line 17 that threw errors with a more general line.

1.0.0