I have a Simulink model that uses a "To Workspace" block to send a signal to the MATLAB workspace.
When I fo the following:
1. Pause the model halfway through the simulation
2. Clear the workspace variable that corresponds to the signal
3. Restart the model and let it finish
4. Examine the workspace variable
I find that the variable contains the samples from the entire simulation run, not just those from the second half, as I would expect.
Best Answer