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.

H5P.get_chunk

Return size of chunks

Syntax

[rank,h5_chunk_dims] = H5P.get_chunk(plist_id)

Description

[rank,h5_chunk_dims] = H5P.get_chunk(plist_id) retrieves the size of chunks for the raw data of a chunked layout dataset for the dataset creation property list specified by plist_id.

Note

The HDF5 library uses C-style ordering for multidimensional arrays, while MATLAB® uses FORTRAN-style ordering. The h5_chunk_dims parameter assumes C-style ordering. Please consult "Using the MATLAB Low-Level HDF5 Functions" in the MATLAB documentation for more information.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g4/time');
dcpl = H5D.get_create_plist(dset_id);
[rank,chunk_dims] = H5P.get_chunk(dcpl);
H5D.close(dset_id);
H5F.close(fid);