I want to use the ECG-ID Database (310 ECG recordings with annotations). How can I read the .atr, .dat and .hea automatically (matlab for instance)? Manually It will take ages using the physionet link : https://www.physionet.org/cgi-bin/atm/ATM.
Please take a look at the link below. It's one of the physiotools that reads ECG data given by physionet. The comments in the code describe how to obtain annotations and other useful ECG information. Good luck !