Main Content
matlab.io.hdfeos.sw.inqDims
Namespace: matlab.io.hdfeos.sw
Information about dimensions defined in swath
Syntax
[dimnames,dimlens] = inqDims(swathID)
Description
[dimnames,dimlens] = inqDims(swathID)
returns
the names of the dimensions dimnames
as a cell
array. The length of each respective dimension is returned in dimlens
.
This function corresponds to the SWinqdims
routine
in the HDF-EOS library.
Examples
import matlab.io.hdfeos.* swfid = sw.open('swath.hdf'); swathID = sw.attach(swfid,'Example Swath'); [dimnames,dimlens] = sw.inqDims(swathID); sw.detach(swathID); sw.close(swfid);