Think about what happens to data at the end of a simulation.
Sink blocks collect output data from the model. Scope shows signals graphically, Display shows numeric values, and To Workspace saves data for further analysis.
Consider how arrays store data compared to structures.
When 'Array' format is selected, the To Workspace block saves the signal data as a numeric array with rows representing time steps and columns representing signal values.
Think about the shape of a sine wave signal.
The Scope block displays the signal waveform over simulation time. For a sine wave input, it shows a smooth oscillating curve.
Check the simulation time settings.
If the simulation time is zero or very short, the signal does not change, so the Display block shows the initial value, which is zero.
Consider how variable names in workspace affect data organization.
Using separate To Workspace blocks with unique variable names saves each signal separately, making post-processing easier and clearer.
