Main Content
matlab.io.hdfeos.sw.getFillValue
Namespace: matlab.io.hdfeos.sw
Fill value for specified field
Syntax
fillvalue = getFillValue(swathID,fieldname)
Description
fillvalue = getFillValue(swathID,fieldname)
returns
the fill value for the specified field.
This function corresponds to the SWgetfillvalue
function
in the HDF-EOS library C API.
Examples
import matlab.io.hdfeos.* swfid = sw.open('swath.hdf'); swathID = sw.attach(swfid,'Example Swath'); fv = sw.getFillValue(swathID,'Spectra'); sw.detach(swathID); sw.close(swfid);