MATLAB: Switching the default settling time of STEPINFO

stepinfo

I need help switching the default settling time of STEPINFOfrom 2% to a 5% settling time.

Best Answer

This works (in R2017b):
S1 = stepinfo(sys,'SettlingTimeThreshold',0.05);
st1 = S1.SettlingTime