This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Create new data space


space_id = H5S.create(space_type)


space_id = H5S.create(space_type) creates a new dataspace of the type space_type. Specify space_type as one of these character vectors or string scalars.


space_id is the identifier for the new dataspace.


Create a scalar dataspace.

space_id = H5S.create('H5S_SCALAR');
numpoints = H5S.get_simple_extent_npoints(space_id);