function item = update_deps(item, varargin) % function item = update_deps(item, varargin) % This function will run cfg_dep/update_deps in all leaf (cfg_entry, % cfg_menu, cfg_files) nodes of a configuration tree and update their % dependency information (mod_job_ids) if necessary. % % 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: update_deps.m 1716 2008-05-23 08:18:45Z volkmar $ rev = '$Rev: 1716 $'; %#ok if ~isempty(item.val) && isa(item.val{1}, 'cfg_dep') item.val{1} = update_deps(item.val{1},varargin{:}); end;