Main Content
matlab.io.hdfeos.sw.close
Namespace: matlab.io.hdfeos.sw
Close swath file
Syntax
close(swfID)
Description
close(swfID)
closes an HDF-EOS swath file
identified by swfID
.
This function corresponds to the SWclose
function
in the HDF-EOS library C API.
Examples
import matlab.io.hdfeos.* swfid = sw.open('myfile.hdf','create'); swathID = sw.create(swfid,'ExampleSwath'); sw.detach(swathID); sw.close(swfid);