view m-toolbox/classes/@LTPDAworkbench/stepForward.m @ 38:3aef676a1b20 database-connection-manager

Keep backtrace on error
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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