function str = dspblkdly(action,varargin)
% DSPBLKDLY Mask dynamic dialog function for integer delay block

% Copyright 1995-2000 The MathWorks, Inc.
% $Date: 2000/04/29 22:54:35 $ $Revision: 1.6 $
if nargin==0
   action = 'dynamic';   % mask callback
end

% Get the value of the checkbox for frame-based
frame_based = get_param(gcb, 'frame');
   
switch action
	case 'dynamic'
      % Execute dynamic dialogs 
      mask_enables = get_param(gcb,'maskenables');
      mask_enables{4} = frame_based;
      mask_enables{5} = frame_based;
		set_param(gcb,'maskenables',mask_enables);
      
   otherwise
      error('unhandled case');
end

% end of dspblkdly.m
