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_driver

Low-level file driver

Syntax

driver_id = H5P.get_driver(plist_id)

Description

driver_id = H5P.get_driver(plist_id) returns the identifier of the low-level file driver associated with the file access property list or data transfer property list specified by plist_id. See HDF5 documentation for a list of valid return values.

Examples

fid = H5F.open('example.h5');
fapl = H5F.get_access_plist(fid);
driver_id = H5P.get_driver(fapl);
if ( driver_id == H5ML.get_constant_value('H5FD_SEC2') )
    fprintf('File driver is H5FD_SEC2.\n');
end
H5P.close(fapl);
H5F.close(fid);
Was this topic helpful?