How can I view the current values of data items during a simulation run?
For any data item (Simulink block, signal or Stateflow variable), at any point during a simulation run, you can: • Hover over the data item in the diagram window. This will cause a pop-up to display the current value of the item. • Right-click on the data item and select Open Scope which will open a graph displaying the value. • right-click on the data item and select Add to Watched which will display in a table in the lower part of the simulator window.