view m-toolbox/classes/@LTPDAworkbench/executeReadyBlocks.m @ 26:ce4df2e95a55 database-connection-manager

Remove LTPDARepositoryManager initialization
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% EXECUTEREADYBLOCKS executes the current ready blocks.
%
% CALL:          wb.executeReadyBlocks
%         cmds = wb.executeReadyBlocks % returns a cell-array of executed
%                                      % commands
%
% M Hewitson 13-11-08
%
% $Id: executeReadyBlocks.m,v 1.7 2010/08/06 19:10:49 ingo Exp $
%
function varargout = executeReadyBlocks(wb)
  
  [cmds, rbs] = wb.parseReadyBlocks();
  
  LTPDAworkbench.executeCommands(wb, cmds);
  
  if nargout > 0
    varargout{1} = cmds;
    varargout{2} = rbs;
  end
  
end