Main Content
initializeTrack
Description
initializes a new track in the trackID
= initializeTrack(tracker
,track
)tracker
. The tracker must be updated at
least once before initializing a track. If the track is initialized successfully, the
tracker assigns the output trackID
to the track, sets the
UpdateTime
of the track equal to the last step time in the tracker,
and synchronizes the data in the input track
to the initialized track.
A warning is issued if the tracker already maintains the maximum number of tracks
specified by itsMaxNumTracks
property. In this case, the
trackID
is returned as 0
, which indicates a
failure to initialize the track.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020a