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.


Set library version bounds for objects




H5P.set_libver_bounds(fapl_id,low,high) sets bounds on library versions, and indirectly format versions, to be used when creating objects in the file with access property list fapl_id. The low argument must be set to either of 'H5F_LIBVER_EARLIEST', 'H5F_LIBVER_18' or 'H5F_LIBVER_LATEST'. The high argument must be set to 'H5F_LIBVER_18' or 'H5F_LIBVER_LATEST'.


Create an HDF5 file where objects are created using the latest available format for each object.

fcpl = H5P.create('H5P_FILE_CREATE');
fapl = H5P.create('H5P_FILE_ACCESS');
fid = H5F.create('myfile.h5','H5F_ACC_TRUNC',fcpl,fapl);