Tired of adding "To Workspace" or Display blocks when debugging your models?
In this case, SIMLOG is for you. Select which signals to log, either individually or complete subsystems. After execution of the model, signals can quickly be inspected by selecting the signal in the model and click the plot button.
Enable/disable logging of signals in the current subsystem + plot logged
1. Select signals, 1 or more, in model. (If subsystems or blocks are
selected, they will not be logged, use subsystem logging instead).
2. Click the desired button among the signal buttons (add/remove/plot)
Enable/disable logging for entire subsystems
1. Select 1 or more subsystem
2. Click the desired button among the subsystem buttons (add/remove)
A number of checkboxes allows for inclusion/exclusion of certain block
After execution of the Simulink model the logged data can be plotted by
selecting a logged signal in the model and clicking the plot button.
Data can also be exported to a variable in the WS for analysis with the
tstool starts the simulink built-in Time Series Tools for analysing the
Very quickly tested in Matlab 2011a prerelease to verify functionality.
Robin Larsson (2020). simlog (https://www.mathworks.com/matlabcentral/fileexchange/30019-simlog), MATLAB Central File Exchange. Retrieved .
Fixed error when trying to export signals with no logged data
Include note on Merge blocks in .m file