function varargout = hdfhd(varargin)
%HDFHD MATLAB gateway to the HDF HD interface.
%   HDFHD is a gateway to the HDF HD interface. To use this
%   function, you must be familiar with the information about the
%   Vdata interface contained in the User's Guide and Reference
%   Manual for HDF version 4.1r3. This documentation may be
%   obtained from the National Center for Supercomputing
%   Applications (NCSA) at <http://hdf.ncsa.uiuc.edu>.
%
%   The general syntax for HDFHD is
%   HDFHD(funcstr,param1,param2,...).  There is a one-to-one
%   correspondence between V 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
%
%   See also HDF.

%   Copyright 1984-2002 The MathWorks, Inc.
%   $Revision: 1.1.6.2 $  $Date: 2004/08/10 01:51:29 $

if (isGLNXA64)  
  eid = sprintf('matlab:%s:unsupportedPlatform',upper(mfilename));
  message = sprintf('%s is not supported on this platform.',upper(mfilename));
  error(eid,message);
end

% Call HDF.MEX to do the actual work.
[varargout{1:max(1,nargout)}] = hdf('HD',varargin{:});

