Main Content
matlab.io.hdfeos.sw.detach
Namespace: matlab.io.hdfeos.sw
Detach from swath
Syntax
detach(swathID)
Description
detach(swathID)
detaches from the swath
identified by swathID
.
This function corresponds to the SWdetach
function
in the HDF-EOS library C API.
Examples
import matlab.io.hdfeos.* swfid = sw.open('swath.hdf'); swathID = sw.attach(swfid,'Example Swath'); sw.detach(swathID); sw.close(swfid);