% PATH = WFDB_wfdbfile(NAME);
% PATH = WFDB_wfdbfile(TYPE, RECORD);
%
% Locate an existing WFDB file by searching the database path. The file is
% specified by TYPE and RECORD, or by its NAME.
% PATH includes the appropriate component of the database path; since the
% database path may include empty or non-absolute components, the string is
% not necessarily an absolute pathname.
% PATH may also be a URL rather than a pathname.
% If the file cannot be found, WFDB_wfdbfile returns an empty string, ''.
%
% NAME: Name of file, e.g. '100s.hea'.
% TYPE: Type of file, e.g. 'hea' or 'atr'.
% RECORD: Record name, e.g. '100s'.
%
% http://www.physionet.org
