%% Synchronize Two trackHistoryLogic Objects
% Create two trackHistoryLogic objects.

logic1 = trackHistoryLogic
logic2 = trackHistoryLogic('ConfirmationThreshold',[3 3],'DeletionThreshold',[5 6])

% Initialize logic2 with a hit.

init(logic2)
logic2

% Synchronize logic1 to logic2.

sync(logic1,logic2);
logic1

% Copyright 2020 The MathWorks, Inc.