Exercise 7.4: Save data
- Model a cosine in Simulink. Visualise the signal for 10 seconds in a scope.
- Save the output of the cosine in a .mat-file. Hereto, use the "To File" block from the library category Sinks. Replace the "Variable name" to "cosine". Run the Simulink model.
- Load the .mat file in Simulink with the
load command. Plot the second row of it's data versus the first row. This should yield the same result as the scope.