HDF5-Dateien
Hierarchical Data Format, Version 5 (HDF5) ist ein Datenmodell-, Bibliotheks- und Dateiformat zum Speichern und Verwalten von Daten. Zur Interaktion mit HDF5-Dateien gibt es mehrere Methoden:
Die Import Tool-App (in MATLAB® Online™) und die Live-Editor-Aufgabe Datenimport bieten intuitive grafische Benutzeroberflächen zum Betrachten und Auslesen von Daten aus HDF5-Dateien.
Die MATLAB High-Level-Funktionen für HDF5 bieten eine vereinfachte programmatische Benutzeroberfläche zum Auslesen von Daten aus HDF5-Dateien und Schreiben von Daten aus dem MATLAB Workspace in HDF5-Dateien.
Die MATLAB Low-Level-Funktionen für HDF5 bieten mehr Kontrolle über den Lese- und Schreibvorgang bei HDF5-Dateien, da sie Zugriff auf mehr als 300 Funktionen der C-Bibliothek von HDF5 gewähren.
Um die MATLAB Low-Level-Funktionen für HDF5 zu nutzen, müssen Sie mit den Programmierkonzepten für das C-API von HDF5 vertraut sein, die unter
https://www.hdfgroup.org/solutions/hdf5/
beschrieben werden.
MATLAB verwendet die HDF5 C-Bibliothek Version 1.10.11.
Live Editor Tasks
Importieren von Daten | Import data from a file in the Live Editor (Seit R2023a) |
Apps
Import Tool | Import data from file |
Funktionen
Themen
- Import HDF5 Files
Read data from an HDF5 file using the high-level functions, the low-level functions, and the Import Data Live Editor task.
- Export to HDF5 Files
Write data and metadata from the MATLAB workspace to an HDF5 file.
- Work with Non-ASCII Characters in HDF5 Files
MATLAB supports 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.