Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAworkbench/stepForward.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % STEPFORWARD execute current ready blocks and step forward one step in | |
2 % current pipeline. | |
3 % | |
4 % CALL: wb.stepForward | |
5 % | |
6 % M Hewitson 13-11-08 | |
7 % | |
8 % $Id: stepForward.m,v 1.7 2010/08/06 19:10:49 ingo Exp $ | |
9 % | |
10 function stepForward(varargin) | |
11 | |
12 wb = varargin{1}; | |
13 [cmds, rbs] = wb.executeReadyBlocks; | |
14 awtinvoke(wb.mp, 'stepForwardCurrentPipeline'); | |
15 awtinvoke(wb.mp, 'updateProgressOfCurrentDiagram'); | |
16 wb.executing = true; | |
17 % Now we can check the source blocks for the last set of executed | |
18 % blocks in case we want to clear some variables | |
19 LTPDAworkbench.clearBlockVariables(rbs); | |
20 | |
21 end |