Initialize track logic with first hit
init(historyLogic)
example
init(historyLogic) initializes the track history logic with the first hit.
historyLogic
collapse all
Create a history-based logic with default confirmation and deletion thresholds.
historyLogic = trackHistoryLogic
historyLogic = trackHistoryLogic with properties: ConfirmationThreshold: [2 3] DeletionThreshold: [6 6] History: [0 0 0 0 0 0]
Initialize the logic, which records a hit as the first update to the logic.
init(historyLogic) history = historyLogic.History; disp(['History: [',num2str(history),'].']);
History: [1 0 0 0 0 0].
trackHistoryLogic
Track history logic, specified as a trackHistoryLogic object.
You have a modified version of this example. Do you want to open this example with your edits?