HDF5 to Matlab tables interface functions

Convert tables to HDF5 and back again.
158 Downloads
Updated 4 Oct 2017

View License

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
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0.0