diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/MPipeline/test_1.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,44 @@
+mc
+
+
+!cp ~/NetBeansProjects/MPipeline/dist/MPipeline.jar .
+!cp -r ~/NetBeansProjects/MPipeline/dist/lib .
+
+javaaddpath(fullfile(pwd, 'MPipeline.jar'));
+
+%% Do some analysis
+
+
+a = ao(1);
+b = ao(2);
+c = a + b; 
+d = sqrt(c);
+
+%% make a new workbench
+
+wb  = LTPDAworkbench();
+
+wb.newPipeline(d)
+wb.reset
+wb.runPipeline
+
+return
+
+
+% $$$ 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
+
+%%
+save(wb, 'testwb.lwb')
+
+wb.close;
+
+
+%% 
+
+mc
+
+%%
+
+wb = LTPDAworkbench('testwb.lwb')
+
+wb.runPipeline