%
% execute C++ code
%

% !nested

%
% use MATLAB routine to plot output
%

addpath('..');

nvert = 3;

filename = 'nested';
mlmc_plot(filename,nvert);

if (nvert==1)
  figure(1)
  print('-deps2c',[filename '_a.eps'])
  figure(2)
  print('-deps2c',[filename '_b.eps'])
else
  print('-deps2c',[filename '.eps'])
end

