struct2hdf5
Versione 1.0.1 (2,12 KB) da
Isaac Li
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.
Cita come
Isaac Li (2024). struct2hdf5 (https://www.mathworks.com/matlabcentral/fileexchange/106470-struct2hdf5), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.