%Defining model parameters:
tu=5; %Time of step in u
u0=0; %Value of u before the step
u1=2; %Value of u after the step
T=0.5; %Time constant
K=2; %Gain
tau=0.5; %Time delay
x0=4; %Initial value of x
%Setting simulation parameters:
timestep=0.01;
options=simset('solver','ode5','fixedstep',timestep); 
tstop=10;
%Simulates sys1.mdl:
sim('sys1',tstop,options)