function fcn = getSetTaskCompleteFcn(fcn)
%

%   Copyright 2013-2020 The MathWorks, Inc.

persistent storedFcn;

if nargin == 0
    fcn = storedFcn;
else
    storedFcn = fcn;
end
