HDF5 Read/Write Cellstr Example
Versión 1.0.0.0 (1,82 KB) por
Jason Kaeding
Demonstrates writing MATLAB cell arrays of strings as variable-length strings to HDF5 files.
Demonstrates how to write/read MATLAB cell arrays of strings as variable-length strings to/from HDF5 files. Example also demonstrates how to set up an unlimited-length dataset with chunking so that it could handle any number of elements in the cell array.
I didn't see any evidence of anyone doing this yet. I think any HDF5/MATLAB users have settled on using char arrays instead, which wastes space. Even the built-in hdf5write converts a cellstr to char array.
Citar como
Jason Kaeding (2026). HDF5 Read/Write Cellstr Example (https://es.mathworks.com/matlabcentral/fileexchange/24091-hdf5-read-write-cellstr-example), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre HDF5 en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
