Downloads a WFDB record with recordName
and associated files from PhysioNet server and store is on the WFB Toolbox
The toolbox cache directory is determined by the foolowing toolbox
configuation parameters obtained by running:
config.CACHE -Boolean. If true this wfdbdownlaod will attempt to
config.CACHE_DEST -Destion of the cached files on the user's system.
It shoudl be safe to delete the cached files, they
can be re-obtained when CACHE==1.
config.CACHE_SOURCE -Source of the cached files (default is PhysioNet's
server at physionet.org/physiobank/database/
Optional output parameters:
Integer. If 0, could not download files, if -1, file already
exists of CACHE==0. If success>0, an integer representing the number of files
A cell array of string specifying the saved files full path.
Written by Ikaro Silva, April 6, 2015
Last Modified: -
See also WFDBLOADLIB, RDSAMP