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
