Routines (alphabetical) > Routines: H > HDF5 Routines > H5D_OPEN

# H5D_OPEN

The H5D_OPEN function opens an existing dataset within an HDF5 file.

## Syntax

Result = H5D_OPEN(Loc_id, Name)

## Return Value

Returns the dataset’s identifier. This identifier can be released with the H5D_CLOSE.

## Arguments

### Loc_id

An integer representing the identifier of the file or group containing the dataset.

### Name

A string representing the name of the dataset to be accessed.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5D_CLOSE