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_gc_references

Garbage collection references setting

Syntax

gc_ref = H5P.get_gc_references(fapl_id)

Description

gc_ref = H5P.get_gc_references(fapl_id) returns the current setting for the garbage collection references property from the file access property list specified by fapl_id. If gc_ref is 1, garbage collection is on; if 0, garbage collection is off.

Examples

fid = H5F.open('example.h5');
fapl = H5F.get_access_plist(fid);
gc_ref = H5P.get_gc_references(fapl);
H5P.close(fapl);
H5F.close(fid);
Was this topic helpful?