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.is_simple

Determine if data space is simple

Syntax

output = H5S.is_simple(space_id)

Description

output = H5S.is_simple(space_id) returns a positive value if the data space specified by space_id is a simple data space, zero if it is not, and a negative value to indicate failure.

Examples

Create a new data space and verify that it is simple.

dims = [100 200];
h5_dims = fliplr(dims);
space_id = H5S.create_simple(2,h5_dims,h5_dims);
val = H5S.is_simple(space_id);

Create a null data space and verify that it is not simple.

space_id = H5S.create('H5S_NULL');
val = H5S.is_simple(space_id);
Was this topic helpful?