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.

hdfvf

Gateway to VF functions in HDF Vdata interface

Syntax

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

Description

hdfvf is the MATLAB® gateway to the VF unctions in the HDF Vdata interface.

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

There is a one-to-one correspondence between VF functions in the HDF library and valid values for funcstr. For example, hdfvf('nfields',vdata_id) corresponds to the C library call VFnfields(vdata_id).

Field Inquiry Functions

Field inquiry functions provide specific information about the fields in a given vdata, including the field's size, name, order, type, and number of fields in the vdata.

Value of funcstrFunction SyntaxDescription
'fieldesize'fsize = hdfvf('fieldesize',vdata_id,field_index)Retrieves the field size (as stored in a file) of a specified field.
'fieldisize'fsize = hdfvf('fieldisize',vdata_id,field_index)Retrieves the field size (as stored in memory) of a specified field.
'fieldname'name = hdfvf('fieldname',vdata_id,field_index)Retrieves the name of the specified field in the given vdata.
'fieldorder'order = hdfvf('fieldorder',vdata_id,field_index)Retrieves the order of the specified field in the given vdata.
'fieldtype'data_type = hdfvf('fieldtype',vdata_id,field_index)Retrieves the data type for the specified field in the given vdata.
'nfields'count = hdfvf('nfields',vdata_id)Retrieves the total number of fields in the specified vdata.

Output Arguments

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

Introduced before R2006a

Was this topic helpful?