%% $RCSfile: szoh.tlc,v $ %% $Revision: 1.6 $ %% $Date: 1999/03/24 14:58:23 $ %% %% Pete Szpak %% May 6, 1997 %% Copyright (c) 1995-1999 The MathWorks, Inc. All Rights Reserved. %% %% Abstract: %% This S-function block target file implements a ZOH without special %% properties. The S-function samples and holds the input vector, and %% is used DSP Blockset "Buffer" and "Unbuffer" blocks. %% %% See Also: %% The Simulink zero-order-hold block target file zoh.tlc %implements szoh "C" %% Function: Outputs ========================================================== %% Abstract: %% Y = U %% %function Outputs(block, system) Output /* % Block: % */ %assign rollVars = ["U", "Y"] %roll sigIdx = RollRegions, lcv = RollThreshold, block, "Roller", rollVars % = \ %; %endroll %endfunction %% [EOF] szoh.tlc