view m-toolbox/test/MPipeline/test_1.m @ 49:0bcdf74587d1 database-connection-manager

Cleanup
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:36 +0100
parents f0afece42f48
children
line wrap: on
line source

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