job_id = batch ( 'quad_script', ...
  'Configuration', 'ithaca_2009b', ...
  'FileDependencies', 'quad_spmd', ...
  'CurrentDirectory', '/home/burkardt/matlab/batch_directory', ...
  'matlabpool', 7 );

wait ( job_id );

results = load ( job_id )

diary ( job_id );

destroy ( job_id );
