HDF5 to Matlab tables interface functions
Converts a Matlab table to HDF5 and back. Has logic to append new data for certain columns:
% Example
% Write a table exampleTable to myfile,h5 using a heirarcy consisting of columns of the table with names {'col1Name', 'col2Name'}
writeTableToHDF5('myfile.h5', exampleTable, {'col1Name', 'col2Name'})
% Read the table back for a specific value of the two columns
tmpTable = readHDF5ToTable('myfile_fut.h5',{'col1Name', 'col2Name'} , {'value1', 'value2'})
% Append data (will overwrite/append based on values of {'col1Name', 'col2Name'} )
appendTableToHDF5('myfile.h5', exampleTable, {'col1Name', 'col2Name'})
Cite As
Joseph Clark (2026). HDF5 to Matlab tables interface functions (https://www.mathworks.com/matlabcentral/fileexchange/64625-hdf5-to-matlab-tables-interface-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Scientific Data > HDF5 Files > High-Level Functions >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
