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_edc_check

Determine if error detection is enabled

Syntax

check = H5P.get_edc_check(plist_id)

Description

check = H5P.get_edc_check(plist_id) queries the dataset transfer property list, specified by plist_id, to determine whether error detection is enabled for data read operations. Returns either H5Z_ENABLE_EDC or H5Z_DISABLE_EDC.

Examples

dxpl = H5P.create('H5P_DATASET_XFER');
check = H5P.get_edc_check(dxpl);
switch(check)
    case H5ML.get_constant_value('H5Z_ENABLE_EDC')
        fprintf('error detection enabled\n');
    case H5ML.get_constant_value('H5Z_DISABLE_EDC');
        fprintf('error detection disabled\n');
end
Was this topic helpful?