function varargout= maskpropupdate(block,param)
% MASKPROPUPDATE Mask variable propagation update function
%
%   Copyright 1996-2000 The MathWorks, Inc.
%   $Revision: 1.1 $  $Date: 2000/09/23 00:13:16 $

upper_blk = gcbh;
fullblk   = getfullname(upper_blk);
lower_blk = [fullblk '/' block];

upper_val = get_param(upper_blk,param);
lower_val = get_param(lower_blk,param);

if ~strcmp(upper_val,lower_val)
    set_param(lower_blk, param, upper_val);  
end

% [EOF] maskpropupdate.m