Home > Libraries > Loaders > read_hdf5.m

iFit/read_hdf5

PURPOSE ^

READ_HDF5 Returns the contents of an HDF5 file as a structure

SYNOPSIS ^

function data = read_hdf5(filename)

DESCRIPTION ^

 READ_HDF5 Returns the contents of an HDF5 file as a structure
   The READ_HDF5 function reads an HDF5 file and returns the contents of
   that file as the fields of a structure.  Groups are treated as elements
   of their parent structure.  If the file cannot be opened a -1 is
   returned.

   data = read_hdf5(filename)

 The returned structure has:
 data.<group>.<data>             the main branch holding the HDF4 data sets
 data.<group>.Attributes.<data>  the sub-structure holding all attributes with  
                 similar structure as the main branch

   Example
       data=read_hdf5('input.h5');

 (c) E.Farhi, ILL. License: EUPL.
 See also: read_hdf4, read_nc, read_cdf

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1