Last change
on this file since 950 was
947,
checked in by sommeria, 9 years ago
|
read hf5 added
|
-
Property svn:executable set to
*
|
File size:
471 bytes
|
Rev | Line | |
---|
[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 | |
---|
| 13 | function datasets = hdf5load(filename) |
---|
| 14 | |
---|
| 15 | hinfo=hdf5info(filename); |
---|
| 16 | |
---|
| 17 | datasets=struct; |
---|
| 18 | hinfo.GroupHierarchy; |
---|
| 19 | datasets=hdf5load_recursion(datasets,hinfo.GroupHierarchy); |
---|
| 20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.