function Status = redo(LoopData)
%REDO  Manages SISO Tool Redo.

%   Author(s): P. Gahinet
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.4 $  $Date: 2000/06/14 20:18:29 $

% Get last undone transaction
LastT = LoopData.Redo(end);

% Remove it from Redo stack
LoopData.Redo = LoopData.Redo(1:end-1);

% Add it to Undo stack
LoopData.Undo = [LoopData.Undo ; LastT];
    
% Redo it
redo(LastT);

% Trigger LoopDataChanged event (global update)
dataevent(LoopData,'all');

% Return status
Status = sprintf('Redoing %s.',LastT.Name);

