|
Hi,
This is a really basic question that I just can't seem to answer: how do I query a range of data within a hdf5 file within MATLAB using low-level hdf5 functionality?
I can read hyperslabs of data with no issue, but it's all "index-based", or in other words I need to an analogue of the "find" function within matlab to grab data in a certain range *regardless* of its index location.
Simple example:
My (huge) hdf5 file is
1 10
2 5
11 6
12 8
.
..
So if I read the "hyperslab" consisting of the first two rows, then I get
1 10
2 5
But I want to be able to just grab "consecutive data", i.e. groups of
1 10
2 5
and
11 6
12 8
from this monster hdf5 file, i.e. use a "find" function.
Any help would be greatly appreciated.
Thanks,
ZO
|