HDF5 Read/Write Cellstr Example

版本 1.0.0.0 (1.8 KB) 作者: Jason Kaeding
Demonstrates writing MATLAB cell arrays of strings as variable-length strings to HDF5 files.
1.4K 次下载
更新时间 2009/5/12

查看许可证

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.

引用格式

Jason Kaeding (2024). HDF5 Read/Write Cellstr Example (https://www.mathworks.com/matlabcentral/fileexchange/24091-hdf5-read-write-cellstr-example), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 HDF5 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0