Question
How can I automatically measure step response metrics like settling time ts, rise time tr, and peak overshoot from a Simulink scope or transfer function?
Related Questions
Expert Answer
Prashant Kumar
PhD Expert
Answered Aug 8, 2026
You can measure step response metrics in Simulink using three methods:
- Scope Measurements Tool: Open the Scope window, click Tools > Measurements > Bode / Step Response Metrics.
- Linear Analysis Tool: Select Analysis > Control Design > Linear Analysis to compute closed-loop step response metrics automatically.
- MATLAB Command Line: Export system transfer function G(s) and execute
stepinfo():
sys = tf([10], [1 3 10]);
S = stepinfo(sys);
fprintf('Settling Time: %.2f sec\n', S.SettlingTime);
fprintf('Rise Time: %.2f sec\n', S.RiseTime);
fprintf('Overshoot: %.2f%%\n', S.Overshoot);
Have a different question? Ask here