High-level access functions make it easy to read and view data in an HDF5 file or write a variable from the MATLAB® workspace into an HDF5 file.
Low-level functions in the HDF5 library packages provide direct access to the more than 300 functions in the HDF5 C library of the HDF Group. To create or write to non-numeric datasets or attributes, you must use the low-level functions.
To use the MATLAB low-level HDF5 functions, you must be familiar with HDF5 C API programming concepts, described at The HDF Group website.
MATLAB supports HDF5 version 1.10.8.
Read or Write HDF5 Files
HDF5 Library Packages
|General-purpose functions for use with entire HDF5 library|
|Metadata associated with datasets or groups|
|Multidimensional arrays of data elements and supporting metadata|
|Dimension scale associated with dataset dimensions|
|HDF5 file access|
|Organization of objects in file|
|HDF5 object identifiers|
|Links in HDF5 file|
|MATLAB utility functions not part of the HDF5 C library|
|Objects in file|
|Object property lists|
|Dimensionality of dataset|
|Datatype of elements in a dataset|
|Inline data filters, data compression|
- Import HDF5 Files
Reading and writing data and metadata using the Hierarchical Data Format (HDF5) file format.
- Export to HDF5 Files
Hierarchical Data Format, Version 5, (HDF5) is a general-purpose, machine-independent standard for storing scientific data in files, developed by the National Center for Supercomputing Applications (NCSA).
- Work with Non-ASCII Characters in HDF5 Files
MATLAB support for non-ASCII data and metadata in HDF5 files.
- Read and Write Data Concurrently Using Single-Writer/Multiple-Reader (SWMR)
Write data to an HDF5 file in one process while you concurrently read from the file in one or more reader processes.
- Work with HDF5 Virtual Datasets (VDS)
Access data stored across multiple HDF5 files as a single, unified HDF5 dataset.
- Read and Write HDF5 Datasets Using Dynamically Loaded Filters
The HDF5 library and file format enables using filters on data chunks before they are written to or after they are read from disk.