matlab.io.hdf4.sd.select
Namespace: matlab.io.hdf4.sd
Identifier of dataset with specified index
Syntax
sdsID = select(sdID,IDX)
Description
sdsID = select(sdID,IDX) returns the identifier of the dataset specified
            by its index. 
This function corresponds to the SDselect function
in the HDF C library. 
Examples
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);