Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help edf2fieldtrip”.

  EDF2FIELDTRIP reads data from a EDF file with channels that have a different
  sampling rates. It upsamples all data to the highest sampling rate and
  concatenates all channels into a raw data structure that is compatible with the
  output of FT_PREPROCESSING.
 
  Use as
    data = edf2fieldtrip(filename);
 
  For reading EDF files in which all channels have the same sampling rate, you can
  use the standard procedure with FT_DEFINETRIAL and FT_PREPROCESSING.
 
  See also FT_PREPROCESSING, FT_DEFINETRIAL, FT_REDEFINETRIAL