From the documentation for stepinfo:
- RiseTime — Time it takes for the response to rise from 10% to 90% of the steady-state response.
If you want the time constant τ use step with this calling syntax:
then interpolate (if necessary) to get the time constant:
g = tf([0 0 5000],[1 200 5000]);
[y,tOut] = step(g);
tau = interp1(y, tOut, exp(-0.5))
producing:
.
Best Answer