Has anyone had experience with extracting the time frames using matlab at the discontinuous points in an EDF tile (ie, where it stopped recording and then when it re-started recording)?
I am not entirely sure I understand your question correctly.
If the discontinuities you are mentioning are in the file itself, say, the sensor comes off, the recording is paused, and then it goes back on, so you have a gap in time in the signal, I have never encountered such a case for biomedical data. Usually if the electrode comes off you have just flat/no signal/noise for a certain time, or the recording is interrupted, the file is saved, and then a new file is recorded.
Also, an EDF can only contain a single time-stamp in the header (start of recording), so it wouldn’t seem possible to have an actual gap of time “in the middle” (so to speak) of a recording.
If instead you are asking, in a signal, how to detect the portions where the electrode came off or recording stops, then there are some signal processing techniques you could try, like power-based or entropy-based analysis to find noise/flat signal.
Please let us know if we can be of any help!