Main Content


Update track logic with miss

Since R2021a



miss(historyLogic) updates the track history with a miss.


collapse all

Create a history-based logic with the default confirmation and deletion thresholds.

historyLogic = trackHistoryLogic;

Initialize the logic, which records a hit as the first update to the logic. The first element of the 'History' property, which indicates the most recent update, is 1.

history = historyLogic.History;
disp(['History: [',num2str(history),'].']);
History: [1  0  0  0  0  0].

Update the logic with a miss. The first element of the 'History' property is 0.

history = historyLogic.History;
disp(['History: [',num2str(history),'].']);
History: [0  1  0  0  0  0].

Input Arguments

collapse all

Track history logic, specified as a trackHistoryLogic object.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2021a