Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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);
Was this topic helpful?