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.

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);

See Also

Was this topic helpful?