이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
matlab.io.hdf4.sd
HDF4 다중 파일 과학 데이터 세트(SD) 인터페이스와 직접 상호 작용
설명
이 MATLAB® 함수를 사용하려면 HDF SD C API를 잘 알고 있어야 합니다. 대개의 경우 MATLAB 함수 구문은 상응하는 HDF 라이브러리 함수 구문과 유사합니다. 이러한 함수는 matlab.io.hdf4.sd
패키지로 구현됩니다. 이 패키지를 사용하려면 함수 이름 앞에 패키지 경로를 지정하거나, 가져오기 함수를 사용하여 현재 가져오기 목록에 패키지를 추가한 후 함수를 호출하십시오. 예를 들면 다음과 같습니다.
import matlab.io.hdf4.* sdID = sd.start('myfile.hdf','read');
액세스
matlab.io.hdf4.sd.close | Terminate access to SD interface |
matlab.io.hdf4.sd.endAccess | Terminate access to dataset |
matlab.io.hdf4.sd.getFilename | Name of file |
matlab.io.hdf4.sd.select | Identifier of dataset with specified index |
matlab.io.hdf4.sd.setExternalFile | Store data in external file |
matlab.io.hdf4.sd.start | Open HDF file and initialize SD interface |
읽기/쓰기
matlab.io.hdf4.sd.create | Create new dataset |
matlab.io.hdf4.sd.readData | Read subsample of data |
matlab.io.hdf4.sd.setFillMode | Set current fill mode of file |
matlab.io.hdf4.sd.writeData | Write to dataset |
조회
matlab.io.hdf4.sd.fileInfo | Number of datasets and global attributes in file |
matlab.io.hdf4.sd.getCompInfo | Information about dataset compression |
matlab.io.hdf4.sd.getInfo | Information about dataset |
matlab.io.hdf4.sd.idToRef | Reference number corresponding to dataset identifier |
matlab.io.hdf4.sd.idType | Type of object |
matlab.io.hdf4.sd.isCoordVar | Determine if dataset is a coordinate variable |
matlab.io.hdf4.sd.isRecord | Determine if dataset is appendable |
matlab.io.hdf4.sd.nameToIndex | Index value of named dataset |
matlab.io.hdf4.sd.nameToIndices | List of datasets with same name |
matlab.io.hdf4.sd.refToIndex | Index of dataset corresponding to reference number |
차원
matlab.io.hdf4.sd.dimInfo | Information about dimension |
matlab.io.hdf4.sd.getDimID | Dimension identifier |
matlab.io.hdf4.sd.getDimScale | Scale data for dimension |
matlab.io.hdf4.sd.setDimName | Associate name with dimension |
matlab.io.hdf4.sd.setDimScale | Set scale values for dimension |
사용자 정의 특성
matlab.io.hdf4.sd.attrInfo | Information about attribute |
matlab.io.hdf4.sd.findAttr | Index of specified attribute |
matlab.io.hdf4.sd.readAttr | Read attribute value |
matlab.io.hdf4.sd.setAttr | Write attribute value |
미리 정의된 특성
matlab.io.hdf4.sd.getCal | Dataset calibration information |
matlab.io.hdf4.sd.getDataStrs | Predefined attributes for dataset |
matlab.io.hdf4.sd.getDimStrs | Predefined attributes for dimension |
matlab.io.hdf4.sd.getFillValue | Fill value for dataset |
matlab.io.hdf4.sd.getRange | Maximum and minimum range values |
matlab.io.hdf4.sd.setCal | Set dataset calibration information |
matlab.io.hdf4.sd.setDataStrs | Set predefined attributes for dataset |
matlab.io.hdf4.sd.setDimStrs | Set label, unit, and format attributes |
matlab.io.hdf4.sd.setFillValue | Set fill value for dataset |
matlab.io.hdf4.sd.setRange | Set maximum and minimum range value for dataset |
청크화/타일화 작업
matlab.io.hdf4.sd.getChunkInfo | Chunk size for dataset |
matlab.io.hdf4.sd.readChunk | Read chunk from dataset |
matlab.io.hdf4.sd.setChunk | Set chunk size and compression method of dataset |
matlab.io.hdf4.sd.writeChunk | Write chunk to dataset |
압축
matlab.io.hdf4.sd.setCompress | Set compression method of dataset |
matlab.io.hdf4.sd.setNBitDataSet | Specify nonstandard bit length for dataset values |