Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

hdfhx

Gateway to HDF external data (HX) interface

Syntax

[out1,...,outN] = hdfhx(funcstr,input1,...,inputN)

Description

hdfhx is the MATLAB® gateway to the HDF interface for manipulating linked and external data elements.

[out1,...,outN] = hdfhx(funcstr,input1,...,inputN) returns one or more outputs corresponding to the HX function in the HDF library specified by functstr.

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).

Functions

Value of funcstrFunction SyntaxDescription
'create'access_id = hdfhx('create',file_id,tag,ref,extern_name,offset,length)

Creates a new external file special data element.

'setcreatedir'status = hdfhx('setcreatedir',pathname);

Sets the directory location for writing external file.

'setdir'status = hdfhx('setdir',pathname);

Sets the directory for locating external files. pathname can contain multiple directories separated by vertical bars.

Input/Output Arguments

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

In cases where the HDF C library accepts NULL for certain inputs, an empty matrix ([] or '') can be used.

Was this topic helpful?