Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

h5disp

Display contents of HDF5 file

Syntax

h5disp(filename)
h5disp(filename,location)
h5disp(filename,location,mode)

Description

h5disp(filename) displays the structure (metadata) of the entire HDF5 file, filename.

h5disp(filename,location) displays the metadata for the specified location.

h5disp(filename,location,mode) displays the file metadata according to the value of mode.

Input Arguments

filename

Character vector specifying the name of an HDF5 file.

location

Character vector specifying the full path to a location in an HDF5 file. To display the metadata for the entire file, specify '/' as the value of location. If location is a group, h5disp displays all objects below the group.

mode

Specified as one of the following character vectors:

ValueDescription
'min'Minimal, display only group and data set names.
'simple'Display data set metadata and attribute values, if the attribute is an integer, floating point, or a scalar string.

Default: 'simple'

Examples

Display the entire contents of an HDF5 file.

h5disp('example.h5')

Display metadata for one data set in an HDF5 file.

 h5disp('example.h5','/g4/world');

Related Examples

See Also

Introduced in R2011a

Was this topic helpful?