HDF5 data to struct reader
Keine Lizenz
This function loads data from a HDF5 file (or optionally a selected part of it) to a Matlab structure. Nested groups are supported, and included as structs nested inside structs.
It can read all data the low-level HDF5 API can handle. (Matlab's own high-level hdf5* can't read for example chunked datasets, at least as of R2008a.)
Complex numbers are also supported; compound datasets with two fields 'r' and 'i' interpreted as complex numbers.
The function also preserves the order of dimensions in the data read, ie., it permutes the data from C order (that's in the file) to Fortran order (Matlab). This is useful when reading HDF5 files generated by non-Matlab software.
Zitieren als
Pauli Virtanen (2024). HDF5 data to struct reader (https://www.mathworks.com/matlabcentral/fileexchange/23934-hdf5-data-to-struct-reader), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Scientific Data >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > HDF5 >
Tags
Quellenangaben
Inspiriert: EasyH5
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Fix upload; file was 0 bytes. |
||
1.0.0.0 |