extractedPGs = extractTime(pgrp,starttime,endtime) returns
the parameter groups found in the array pgrp, with
timestamps between the specified starttime and endtime,
inclusive.
pgrp — J1939 parameter group array of ParameterGroup objects
J1939 parameter groups, specified as an array of ParameterGroup
objects. Use thej1939ParameterGroup or receive function to
create ParameterGroup objects.
starttime,endtime — Start time and end time numeric value
Start time and end time, specified as numeric values. These
arguments define the range of time from which to extract parameter
groups, inclusively. For the earliest possible starttime use 0,
for the latest possible endtime use Inf.
The endtime value must be greater than the starttime value.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.