title: Simulink Storing Data to Workspace has time nonmonotonic
body: <p>I am running a simulink simulation using the fixed-step discrete solver. I've even specified the fixed-step size. I save some data via a "To Workspace" block (I've used the Scope to save to workspace as well with equivalent results). When I look at the time data in the object, the time is not monotonically increasing.</p>
  
  <p>The time value is constant for 5-10 samples, then continues. Any ideas why this happens?</p>
  
  <p>I took a screen shot of the Time vector. You can see it goes flat, then continues, then is flat. I expected a single line.</p>
  
  <p><img src="https://i.stack.imgur.com/yLXY0.png" alt="How I use the &quot;To Workspace&quot; block">
  <img src="https://i.stack.imgur.com/PMKq5.png" alt="The Time plotted"></p>
  
  <p>I asked on the Mathworks site as well. I'll update both if I get an answer.</p>
  
  <p>EDIT: I am working with Mathworks now too. They did show me how to visually inspect sample times. Navigate to Format > Sample Time Display > All. This will show all of the sample times in the simulation. </p>