%% Reset Track Score Logic
% Create a score-based logic using the default confirmation threshold and deletion threshold. Get the current state of the logic. The current and maximum score are both 0.

scoreLogic = trackScoreLogic;
score = output(scoreLogic)

% Initialize the logic, then get the current state of the logic.

volume = 1.3;
beta = 0.1;
init(scoreLogic,volume,beta);
score = output(scoreLogic)

% Reset the logic, then get the current state of the logic. The current and maximum score are both 0.

reset(scoreLogic)
score = output(scoreLogic)

% Copyright 2018 The MathWorks, Inc.