Package: matlab.io.hdf4.sd
Identifier of data set with specified index
sdsID = select(sdID,IDX)
sdsID = select(sdID,IDX)
returns the identifier
of the data set specified by its index.
This function corresponds to the SDselect
function
in the HDF C library.
import matlab.io.hdf4.* sdID = sd.start('sd.hdf','read'); idx = sd.nameToIndex(sdID,'temperature'); sdsID = sd.select(sdID,idx); sd.endAccess(sdsID); sd.close(sdID);