Initialize new track branch
initializes a new track branch in the tracker. The tracker must be updated at least once
before initializing a track branch. If the track is initialized successfully, the tracker
assigns the output
branchID = initializeTrack(
branchID to the branch, set the
UpdateTime of the branch equal to the last step time, and
synchronizes the data in the input
branch to the initialized branch.
A warning is issued if the tracker already maintains the maximum number of track
branches specified by the
MaxNumTrackBranches property of the tracker.
In this case, the
branchID is returned as zero, which indicates a
failure to initialize the branch.
branch — New track branch to be initialized
New track to be initialized, specified as an
objectTrack object or a structure.
If specified as a structure, the name, variable type, and data size of the fields of the
structure must be the same as the name, variable type, and data size of the
corresponding properties of the
objectTrack object outputted by the
filter — Filter object
trackingIMM | trackingGSF
Introduced in R2020a