view m-toolbox/classes/@LTPDAworkbench/executeReadyBlocks.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +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