MATLAB: Simulink – Modifying Data Inspector sample time

data inspectorsimulink

Hello,
How do I modify the sample time for the signal logging in the data inspector in Simulink? By default, it seems to just use my model's fundamental sample time (1 ms). Thanks!
Best regards,
Niklas

Best Answer

The Simulation Data Inspector cannot log data with a higher sampling rate than the base sample rate of your model.
If you want a slower sample rate for the Simulation Data Inspector, you can log signals coming out of a Rate Transition block which uses a slower sample rate.