Contents

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?