Main Content

Library (H5)

General-purpose functions for use with entire HDF5 library

Description

Use the MATLAB® HDF5 library interface, H5, to perform basic operations and access information on the HDF5 library.

Functions

H5.close

Close HDF5 library

H5.close() closes the HDF5 library.

H5.garbage_collect

Free unused memory in HDF5 library

H5.garbage_collect() frees unused memory in the HDF5 library.

H5.get_libversion

Version of HDF5 library

[major,minor,relnum] = H5.get_libversion() returns the version of the HDF5 library in use.

Output arguments

  • major — Major version of the library.

  • minor — Minor version of the library.

  • relnum — Release number of the library.

H5.open

Initialize HDF5 library

H5.open() opens the HDF5 library.

H5.set_free_list_limits

Set size limits on free lists

H5.set_free_list_limits(regGlobalLim,regListLim,arrGlobalLim,arrListLim,blkGlobalLim,blkListLlim) sets size limits on all types of free lists.

Input Arguments

  • regGlobalLim — The cumulative limit, in bytes, on memory used for all regular free lists (Default: 1MB).

  • regListLim — The limit, in bytes, on memory used for each regular free list (Default: 64KB).

  • arrGlobalLim —The cumulative limit, in bytes, on memory used for all array free lists (Default: 4MB).

  • arrListLim — The limit, in bytes, on memory used for each array free list (Default: 256KB).

  • blkGlobalLim — The cumulative limit, in bytes, on memory used for all block free lists and, separately, for all factory free lists (Default: 16MB).

  • blkListLim — The limit, in bytes, on memory used for each block or factory free list (Default: 1MB).

Introduced before R2006a