% STEPFORWARD execute current ready blocks and step forward one step in
% current pipeline.
%
% CALL:  wb.stepForward
%
% M Hewitson 13-11-08
%
% $Id: stepForward.m,v 1.7 2010/08/06 19:10:49 ingo Exp $
%
function stepForward(varargin)
  
  wb = varargin{1};
  [cmds, rbs] = wb.executeReadyBlocks;
  awtinvoke(wb.mp, 'stepForwardCurrentPipeline');
  awtinvoke(wb.mp, 'updateProgressOfCurrentDiagram');
  wb.executing = true;
  % Now we can check the source blocks for the last set of executed
  % blocks in case we want to clear some variables
  LTPDAworkbench.clearBlockVariables(rbs);
  
end
