%% Update History Logic with Miss
% 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.

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

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

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

% Copyright 2019 The MathWorks, Inc.
%