Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
27
Добавлен:
09.02.2015
Размер:
673.28 Кб
Скачать

Cdf library interface

<cdflib> - MATLAB Gateway to CDF interface.

CDFLIB Summary of MATLAB CDFLIB package.

MATLAB provides low-level access to CDF files via direct access to

more than 80 functions in the CDF library new standard interface. To

use these MATLAB functions, you must be familiar with the CDF C

interface. Documentation about CDF may be found at the CDF website

<http://cdf.gsfc.nasa.gov/>.

In most cases, the syntax of a MATLAB member function is similar to the

syntax of the corresponding CDF library new standard interface

function. The functions are implemented as a package called "cdflib".

To use these functions, you need to prefix the function name with

package name "cdflib", i.e.

cdfId = cdflib.open ( filename );

The following table lists all the member functions of the CDF package.

-- Library Information --

getConstantNames - return list of CDF constant names

getConstantValue - return numeric value corresponding to CDF constant

getLibraryCopyright - return copyright notice

getLibraryVersion - return version and release information

getValidate - return data validation mode

setValidate - set data validation mode

-- CDF Files --

close - close CDF

create - create CDF file

delete - delete CDF file

getCacheSize - return number of cache buffers

getChecksum - return checksum mode

getCompression - return CDF file compression settings

getCompressionCacheSize - get number of compression cache buffers

getCopyright - return the copyright notice in CDF

getFormat - return file format of CDF

getMajority - return variable majority of CDF

getName - return file name of specified CDF

getReadOnlyMode - return read-only mode of CDF

getStageCacheSize - return number of staging cache buffers

getVarsMaxWrittenRecNum - return maximum written record number

getVersion - return release information for CDF

Inquire - return basic characteristics of cdf

open - open existing CDF

setCacheSize - specify number of dotCDF cache buffers

setChecksum - specify checksum mode

setCompression - specify CDF file compression settings

setCompressionCacheSize - specify compression cache buffers

setFormat - specify the file format of CDF

setMajority - specify variable majority of CDF

setReadOnlyMode - specify read-only mode of CDF

setStageCacheSize - specify staging cache buffers for CDF

-- CDF Variables --

closeVar - close specified variable from multi-file format CDF

createVar - create new CDF variable

deleteVar - delete CDF variable

deleteVarRecords - delete range of records

getVarAllocRecords - return number of records allocated

getVarBlockingFactor - return CDF variable blocking factor

getVarCacheSize - return number of multi-file cache buffers

getVarCompression - return CDF variable compression information

getVarData - return single value from specified index

getVarMaxAllocRecNum - return number of records allocated for CDF variable

getVarMaxWrittenRecNum - return maximum written record number

getVarName - return name attached to CDF variable

getVarNum - return variable identifier

getVarNumRecsWritten - return number of records written

getVarPadValue - return pad value

getVarRecordData - return entire CDF variable record

getVarReservePercent - return compression reserve percentage

getVarSparseRecords - return sparse records type

Соседние файлы в папке Библиотеки Matlab