$ 0 0 Where does the counter block come from? There is a counter block in the DSP Toolbox library, do you have that toolbox? Phil.