How to find settling time and overshoot from Matlab PID Controller plot?

5 views (last 30 days)
So I've constructed a PID Controller using Simulink which has produced a plot.
I've then used Matlab to show this plot, we were told to do this as oppose to using the scope in Simulink.
However I am having trouble finding the settling time for this plot on Matlab. I've tried right clicking which is supposed to show a characteristics menu which shows settling time, overshoot etchowever when I right click nothing shows up.
I've also tried using this:
stepinfo(y,t,yfinal)
ans =
RiseTime: NaN
SettlingTime: NaN
SettlingMin: NaN
SettlingMax: NaN
Overshoot: 0
Undershoot: 0
Peak: 0
PeakTime: 67.810000000000002
However as you can see no settling time is shown.
How should I proceed?
Thanks.

Answers (0)

Categories

Find more on Simulink Control Design in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!