title: Time-varying constant input in Simulink
body: <p>I'm trying to generate a constant input inside my Simulink model, but I don't know how to make it time-varying. Say in <code>0-10</code>, it should output <code>5</code>, then for <code>10-20</code> the output should be <code>0</code>, then after <code>20</code>, it should output <code>10</code>.</p>
  
  <p>I was trying <code>repeating sequence</code> generator module, but that was doing linear increase on intervals; I need step or sudden increase at exact points.</p>