- Decimation allows you to log every Nth data point. This reduces the amount of data you save, which helps with memory usage, but It does not make the simulation run any faster—all signals are still calculated at every time step.
- Sample time works differently. If you set a slower sample time for a logged signal (and that signal isn’t needed elsewhere at a higher rate), Simulink can compute and log it less frequently. This can help reduce both the exported data and the simulation time.
- https://www.mathworks.com/help/simulink/gui/signallogging.html
- https://www.mathworks.com/help/simulink/gui/decimation.html
- https://www.mathworks.com/help/simulink/ug/how-to-specify-the-sample-time.html
