Documentation

This is machine translation

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

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

H5S.extent_copy

Copy extent from source to destination data space

Syntax

H5S.extent_copy(dst_id,src_id)

Description

H5S.extent_copy(dst_id,src_id) copies the extent from the source data space, src_id, to the destination data space, dst_id.

Examples

space_id1 = H5S.create('H5S_SIMPLE');
dims = [100 200];
h5_dims = fliplr(dims);
maxdims = [100 H5ML.get_constant_value('H5S_UNLIMITED')];
h5_maxdims = fliplr(maxdims);
H5S.set_extent_simple(space_id1,2,h5_dims,h5_maxdims);
space_id2 = H5S.create('H5S_SIMPLE');
H5S.extent_copy(space_id2,space_id1);
Was this topic helpful?