Main Content

matlab.io.hdfeos.gd.detach

Namespace: matlab.io.hdfeos.gd

Detach from existing grid

Syntax

detach(gridID)

Description

detach(gridID) detaches from the grid identified by gridID.

This function corresponds to the GDdetach function in the HDF-EOS library C API.

Examples

import matlab.io.hdfeos.*
gfID = gd.open('grid.hdf');
gridID = gd.attach(gfID,'PolarGrid');
gd.detach(gridID);
gd.close(gfID);

See Also