view m-toolbox/test/MPipeline/test_1.m @ 37:a4b7ceae0403 database-connection-manager

Show backtrace on unit test errors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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