source: trunk/src/hdf5load.m @ 1134

Last change on this file since 1134 was 1013, checked in by g7moreau, 7 years ago
  • Remove property svn:executable
File size: 490 bytes
RevLine 
[947]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
[1013]15    hinfo=hdf5info(filename);
[947]16
[1013]17    datasets=struct;
18    hinfo.GroupHierarchy;
19    datasets=hdf5load_recursion(datasets,hinfo.GroupHierarchy);
20end
Note: See TracBrowser for help on using the repository browser.