initializeTrack
Initialize new track
Description
initializes a new track in the tracker or track fuser object, trackID = initializeTrack(obj,track)obj. The
tracker or fuser must be updated at least once before initializing a track. If the track is
initialized successfully, the tracker or fuser 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 or track fuser 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.
Note
This syntax doesn't support using the trackingGSF,
trackingPF,
or trackingIMM
filter object as the internal tracking filter for the tracker or track fuser. Use the
second syntax in these cases.
initializes a new track in the tracker or track fuser object, trackID = initializeTrack(obj,track,filter)obj,
using a specified tracking filter, filter.
Note
If the tracking filter used in the tracker or track fuser is
trackingGSF,trackingPF, ortrackingIMM, you must use this syntax instead of the first syntax.This syntax does not support using
trackFuseras theobjinput.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2020a