source: trunk/src/hdf5load.m @ 1083

Last change on this file since 1083 was 1013, checked in by g7moreau, 6 years ago
  • Remove property svn:executable
File size: 490 bytes
Line 
1% hdf5load.m
2%
3% datasets = hdf5load(filename)
4%
5% Loads all the variables in an hdf5 file and returns a structure
6% containing all the datasets present in the root of the hierarchy of the
7% file.
8
9% Author: Gael Varoquaux <gael.varoquaux@normalesup.org>
10% Copyright: Gael Varoquaux
11% License: BSD-like
12
13function datasets = hdf5load(filename)
14
15    hinfo=hdf5info(filename);
16
17    datasets=struct;
18    hinfo.GroupHierarchy;
19    datasets=hdf5load_recursion(datasets,hinfo.GroupHierarchy);
20end
Note: See TracBrowser for help on using the repository browser.