Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5S.select_all

Select entire extent of data space

Syntax

H5S.select_all(space_id)

Description

H5S.select_all(space_id) selects the entire extent of the data space specified by space_id.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
space_id = H5D.get_space(dset_id);
num_points1 = H5S.get_select_npoints(space_id);
H5S.select_none(space_id);
num_points2 = H5S.get_select_npoints(space_id);
H5S.select_all(space_id);
num_points3 = H5S.get_select_npoints(space_id);
Was this topic helpful?