Количество блоков hyperslab
num_blocks = H5S.get_select_hyper_nblocks(space_id)
num_blocks = H5S.get_select_hyper_nblocks(space_id)
возвращает количество блоков hyperslab в текущем выборе пространства данных.
dims = [100 200]; h5_dims = fliplr(dims); space_id = H5S.create_simple(2,h5_dims,h5_dims); start = fliplr([10 20]); block = fliplr([20 25]); H5S.select_hyperslab(space_id,'H5S_SELECT_SET',start,[],[],block); start = fliplr([20 30]); block = fliplr([20 25]); H5S.select_hyperslab(space_id,'H5S_SELECT_NOTB',start,[],[],block); nblocks = H5S.get_select_hyper_nblocks(space_id);