comparison m-toolbox/test/MPipeline/test_1.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 mc
2
3
4 !cp ~/NetBeansProjects/MPipeline/dist/MPipeline.jar .
5 !cp -r ~/NetBeansProjects/MPipeline/dist/lib .
6
7 javaaddpath(fullfile(pwd, 'MPipeline.jar'));
8
9 %% Do some analysis
10
11
12 a = ao(1);
13 b = ao(2);
14 c = a + b;
15 d = sqrt(c);
16
17 %% make a new workbench
18
19 wb = LTPDAworkbench();
20
21 wb.newPipeline(d)
22 wb.reset
23 wb.runPipeline
24
25 return
26
27
28 % $$$ executing: [sqrt_a_b.a1255285_PORT0] = plus(sqrt_a_b.subsystem_2.subsystem.a1255285_PORT0,sqrt_a_b.subsystem_2.subsystem_1.a1255285_PORT1,[plist()]);% ao
29
30 %%
31 save(wb, 'testwb.lwb')
32
33 wb.close;
34
35
36 %%
37
38 mc
39
40 %%
41
42 wb = LTPDAworkbench('testwb.lwb')
43
44 wb.runPipeline