title: Programmatically set values for input ports in SIMULINK
body: <p>I have simple system model in SIMULINK which I am trying to black-box test with minimum effort. I know that using MATLAB script, I can automate simulation and testing processes. </p>
  
  <p>I have multiple <code>In1</code> (SIMULINK block for top-level-input) ports and I want assign values to those input ports. I know that using <code>Signal Builder</code> block I can assign step/pulse/sine_wave/constant signals very easily, but that defeats the purpose of scripting and automating tests. </p>
  
  <p>Does anyone know if it is possible to assign input values programmatically to the <code>In1</code> ports in SIMULINK? If yes, how?</p>
  
  <p>I will be trying to find the answer myself meanwhile. If I have any luck before, I will simply answer it! :)</p>