HEPLAB: Matlab scripts to facilitate heartbeat-evoked potential analysis

Last month my colleague Luis Ciria and I, gave a two-day workshop that focused on how to use the Matlab toolbox eeglab to create heartbeat-evoked events, extract epochs from the continuous EEG signal based on these events, and use Fieldtrip to perform a cluster-based permutation analysis to detect statistical differences between groups and conditions. The custom scripts we used at the workshop are freely available through the Zenodo repository.