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

  FT_APPENDTIMELOCK concatenates multiple timelock (ERP/ERF) data structures that
  have been processed seperately. If the input data structures contain different
  channels, it will be concatenated along the channel direction. If the channels are
  identical in the input data structures, the data will be concatenated along the
  repetition dimension.
 
  Use as
    combined = ft_appendtimelock(cfg, timelock1, timelock2, ...)
 
  The configuration can optionally contain
    cfg.appenddim  = string, the dimension to concatenate over which to append,
                     this can be 'chan' and 'rpt' (default is automatic)
    cfg.tolerance  = scalar, tolerance to determine how different the time axes
                     are allowed to still be considered compatible (default = 1e-5)
 
  See also FT_TIMELOCKANALYSIS, FT_DATATYPE_TIMELOCK, FT_APPENDDATA, FT_APPENDFREQ,
  FT_APPENDSOURCE, FT_APPENDSENS