Steps
Open EEGLAB in MatLab (type “eeglab” in MatLab and hit enter)
In EEGLAB, go to “file” → “import” → “using EEGLAB functions and plugins” → “import Phillips .mff file”
Select the mff file of the ECG recording you want to import
For trigger/event type select “code”
Go to “plot” → “channel data (scroll)” and check to see what channel number corresponds to the ECG channel (usually channel 66). You should be looking for a QRS wave signal
Go to “edit” → “select data” and enter the ECG channel number into “channel range”
Save the new data set
Confirm the right channels were removed by navigating to “plot” → “channel data (scroll)”
Then go to “file” → “export” → “data and ica activity to text file”
Make sure the only boxes checked are “transpose matrix (elec → cols)” and “use comma separator (csv) instead of tabs”. All other boxes should be unchecked.
Enter the file name with a proper title (should end in .txt) and select the proper folder destination
Wait until the file is finished uploading before closing MatLab
[Insert Video]