title: Incomplete graphs plotting in Simulink
body: <p>I am having an issue running a FOC algorithm in Simulink (see image attached). Specifically, the graphs only plotted until 0.5 despite the simulation is set to 10 seconds (see image attached). Does anyone know what is happening? Thanks in advance. </p>
  
  <p>The file can be found in the following MatlabExchange link:<a href="https://es.mathworks.com/matlabcentral/fileexchange/39605-vector-control-of-permanent-magnet-synchronous-motor-pmsm" rel="nofollow noreferrer">https://es.mathworks.com/matlabcentral/fileexchange/39605-vector-control-of-permanent-magnet-synchronous-motor-pmsm</a> </p>
  
  <p><a href="https://i.stack.imgur.com/4ynJJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ynJJ.png" alt="Simulation Graphs"></a>
  <a href="https://i.stack.imgur.com/RPEXI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RPEXI.png" alt="FOC_Algorithm_Simulink"></a></p>