Delete signals from EDF or EDF+ file
Delete Signal from EDF+ File
edfw.mat into the workspace. The
edfwrite object contains electromyography (EMG) data  from eight different arm muscles. The data is available at www.sce.carleton.ca/faculty/chan/index.php?page=matlab. Display the number of signals and the signal labels.
load edfw edfw.NumSignals
ans = 8
ans = 8x1 string "F1" "F2" "F3" "F4" "F5" "F6" "F7" "B1"
edfw. Display the number of signals and the signal labels.
edfw = deleteSignals(edfw,"B1"); edfw.NumSignals
ans = 7
ans = 7x1 string "F1" "F2" "F3" "F4" "F5" "F6" "F7"
signallabels — Signal names
Signal names, specified as a string vector.
edfw — EDF or EDF+ file
EDF or EDF+ file, returned as an
When a signal is deleted, the recording becomes discontinuous and the
Reserved property of the EDF or EDF+ file is converted to
 Chan, Adrian D.C., and Geoffrey C. Green. 2007. "Myoelectric Control Development Toolbox". Paper presented at 30th Conference of the Canadian Medical & Biological Engineering Society, Toronto, Canada, 2007.
 Kemp, Bob, Alpo Värri, Agostinho C. Rosa, Kim D. Nielsen, and John Gade. “A Simple Format for Exchange of Digitized Polygraphic Recordings.” Electroencephalography and Clinical Neurophysiology 82, no. 5 (May 1992): 391–93. https://doi.org/10.1016/0013-4694(92)90009-7.
 Kemp, Bob, and Jesus Olivan. "European Data Format 'plus' (EDF+), an EDF Alike Standard Format for the Exchange of Physiological Data." Clinical Neurophysiology 114, no. 9 (2003): 1755–1761. https://doi.org/10.1016/S1388-2457(03)00123-8.
Introduced in R2021a