function item = setval(item, val, dflag)

% function item = setval(item, val, dflag)
% prevent changes to item.val via setval for branches
%
% 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: setval.m 1862 2008-06-30 14:12:49Z volkmar $

rev = '$Rev: 1862 $'; %#ok

cfg_message('matlabbatch:setval', 'Setting val{} of branch items via setval() not permitted.');