view m-toolbox/classes/@LTPDAworkbench/stepForward.m @ 50:7d2e2e065cf1 database-connection-manager

Update unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +0100
parents f0afece42f48
children
line wrap: on
line source

% 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