This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

H5F.get_name

Name of HDF5 file

Syntax

name = H5F.get_name(obj_id)

Description

name = H5F.get_name(obj_id) returns the name of the file to which the object obj_id belongs. The object can be a group, dataset, attribute, or named data type.

Examples

fid = H5F.open('example.h5');
name = H5F.get_name(fid);
H5F.close(fid);