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

Identifier.

[filename,access_mode,attach,status] = hdfh('fidinquire',file_id)

Returns information about specified file.

[tag,ref,offset,length,status] = hdfh('find',file_id,...

search_tag,search_ref,search_type,dir)

Locates the next object to be searched for in an HDF file;

search_type can be 'new' or 'continue'; dir can be 'forward' or

'backward'.

[data,status] = hdfh('getelement',file_id,tag,ref)

Reads the data element for the specified tag and reference number.

[major,minor,release,info,status] = hdfh('getfileversion',file_id)

Returns version information for an HDF file.

[major,minor,release,info,status] = hdfh('getlibversion')

Returns version information for the current HDF library.

[file_id,tag,ref,length,offset,position,access,special,...

status] = hdfh('inquire',access_id)

Returns access information about a data element.

tf = hdfh('ishdf',filename)

Determines if a file is an HDF file.

length = hdfh('length',file_id,tag,ref)

Returns the length of a data object specified by the tag and

reference number.

ref = hdfh('newref',file_id)

Returns a reference number that can be used with any tag to product

a unique tag/reference number pair.

status = hdfh('nextread',access_id,tag,ref,origin)

Searches for the next data descriptor that matches the specified

tag and reference number; origin can be 'start' or 'current'.

num = hdfh('number',file_id,tag)

Returns the number of instances of a tag in a file.

offset = hdfh('offset',file_id,tag,ref)

Returns the offset of a data element in the file.

file_id = hdfh('open',filename,access,n_dds)

Provides an access path to an HDF file by reading all the data

descriptor blocks into memory.

count = hdfh('putelement',file_id,tag,ref,X)

Writes a data element or replaces an existing data element in an

HDF file; X must be a uint8 array.

X = hdfh('read',access_id,length)

Reads the next segment in a data element.

status = hdfh('seek',access_id,offset,origin)

Sets the access pointer to an offset within a data element; origin

can be 'start' or 'current'.

access_id = hdfh('startread',file_id,tag,ref)

access_id = hdfh('startwrite',file_id,tag,ref,length)

status = hdfh('sync',file_id)

length = hdfh('trunc',access_id,trunc_len)

Truncates the specified data object to the given length.

count = hdfh('write',access_id,X)

Writes the next data segment to a specified data element; X must be

a uint8 array.

Unsupported functions

---------------------

These functions in the NCSA H interface are not currently supported by

HDFH: Hcache, Hendbitaccess, Hexist, Hflushdd, Hgetbit, Hputbit,

Hsetlength, Hshutdown, Htagnewref.

Please read the file hdf4copyright.txt for more information.

See also hdf, hdfan, hdfdf24, hdfdfr8, hdfhd,

hdfhe, hdfhx, hdfml, hdfsd, hdfv, hdfvf, hdfvh, hdfvs

<hdfhd> - MATLAB Gateway to HDF HD interface.

HDFHD MATLAB gateway to the HDF HD interface.

HDFHD is a gateway to the HDF HD interface.

The general syntax for HDFHD is

HDFHD(funcstr,param1,param2,...). There is a one-to-one correspondence

between HD functions in the HDF library and valid values for funcstr.

Syntax conventions

------------------

A status or identifier output of -1 indicates that the operation

failed.

tag_name = hdfhd('gettagsname',tag)

Get the name of the specified tag.

Please read the file hdf4copyright.txt for more information.

See also hdf, hdfan, hdfdf24, hdfdfr8, hdfh,

hdfhe, hdfhx, hdfml, hdfsd, hdfv, hdfvf, hdfvh, hdfvs

<hdfhe> - MATLAB Gateway to HDF HE interface.

HDFHE MATLAB gateway to the HDF HE interface.

HDFHE is a gateway to the HDF HE interface.

The general syntax for HDFHE is

HDFHE(funcstr,param1,param2,...). There is a one-to-one correspondence

between HE functions in the HDF library and valid values for funcstr.

Syntax conventions

------------------

A status or identifier output of -1 indicates that the operation

failed.

hdfhe('clear')

Clears all information on reported errors from the error stack.

hdfhe('print',level)

Prints information in error stack; if level is 0, the entire error

stack is printed.

error_text = hdfhe('string',error_code)

Returns the error message associated with the specified error code.

error_code = hdfhe('value',stack_offset)

Returns an error code from the specified level of the error stack;

stack_offset of 1 gets the most recent error code.

The HDF library functions HEpush and HEreport are not currently

supported by this gateway.

Please read the file hdf4copyright.txt for more information.

See also hdf, hdfan, hdfdf24, hdfdfr8, hdfh, hdfhd,

hdfhx, hdfml, hdfsd, hdfv, hdfvf, hdfvh, hdfvs

<hdfhx> - MATLAB Gateway to HDF HX interface.

HDFHX MATLAB gateway to HDF external data interface

HDFHX is a gateway to the HDF interface for manipulating linked and

external data elements.

The general syntax for HDFHX is

HDFHX(funcstr,param1,param2,...). There is a one-to-one correspondence

between HX functions in the HDF library and valid values for funcstr.

For example,

HDFHX('setdir',pathname); corresponds to the C library call

HXsetdir(pathname).

Syntax conventions

------------------

A status or identifier output of -1 indicates that the operation

failed.

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