Pain killer class for Matlab low level tools.
Matlab has high level and low level functions for HDF5. The high level
functions are great, see h5create and h5write. However Strings are NOT
supported by these functions. Therefore I have provided the following
functions for adding strings to HDF files.
Unlike h5create, if group does not exist, you need to createGroup() before writeString().
Use Statically.
csm_hdf( ).method( )
Method | Description |
---|---|
csm_hdf_tools.createGroup( file_id, group_name ) | Create a group. |
csm_hdf_tools.writeString( file_id, dataset_name, string ) | Write a string to the dataset. |
csm_hdf_tools.writeCompoundTable( file_id, dataset_name, save_table ) | Write a table to the dataset |
Copyright Imperial College London 2019