%% Generate Five-Phase Output from the Multiphase Clock Block
% This example shows how to use the Multiphase Clock block to generate a
% 100 Hz five-phase output in which the third signal is first to become
% active. The block uses a high active level with a duration of one
% interval.
open_system('ex_multiphase_clock')

% Copyright 2018 The MathWorks, Inc.

%% 
% The Scope window below shows the output of the Multiphase Clock block.
% Note that the first active level appears at |t=0| on |y(3)|, the second
% active level appears at |t=0.002| on |y(4)|, the third active level
% appears at |t=0.004| on |y(5)|, the fourth active level appears at
% |t=0.006| on |y(1)|, and the fifth active level appears at |t=0.008| on
% |y(2)|. Each signal becomes active |1/(5*100)| seconds after the previous
% signal.
%
%%
sim('ex_multiphase_clock')