withtol
Time tolerance for timetable row subscripting
Description
S = withtol(
creates a subscript to select rows of a timetable. rowTimes,tol)S selects all
rows whose row times match a time in rowTimes within the
tolerance specified by tol. The rowTimes
argument is a datetime or duration array, or a cell array of character vectors that
specify dates and times. tol must be a nonnegative duration
value.
If rowTimes contains datetime values, then
you can only use S to subscript into a timetable
whose row times are datetime values. Similarly, if rowTimes contains
duration values, then you can only use S to subscript
into a timetable whose row times are duration values.
S = withtol(
creates a row subscript using an event filter. To use event filters, the timetable
you subscript into must have an attached event table. For more information on
specifying a time tolerance using event filters, see EF,tol)eventfilter. (since R2023a)