function out = cfg_example_run_sum(job) % Example function that returns the sum of an vector given in job.a in out. % The output is referenced as out(1), this is defined in % cfg_example_vout_sum. % % This code is part of a batch job configuration system for MATLAB. See % help matlabbatch % for a general overview. %_______________________________________________________________________ % Copyright (C) 2007 Freiburg Brain Imaging % Volkmar Glauche % $Id: cfg_example_run_sum.m 1716 2008-05-23 08:18:45Z volkmar $ rev = '$Rev: 1716 $'; %#ok out = sum(job.a);