Skip to content

addsampletocollection

time · scripts/time/addsampletocollection.m

ADDSAMPLETOCOLLECTION  Add a sample to every member of a tscollection.

  TSC = ADDSAMPLETOCOLLECTION (TSC, 'Time', T, 'Data', D) appends time T
  and data row(s).  D may be a struct with fields matching member names,
  or a matrix with one column per member (field order).