to find rise time, settling time, overshoot, steady-state error by a model generated in Simulink ?
51 views (last 30 days)
Jonathan LeSage on 7 Nov 2013
I am assuming that you're already providing a step input to your Simulink model via the 'Generate step function' block. If you're using a scope block in Simulink to view the results, you can set that block to save the simulation to the MATLAB workspace as an array.
From there, you can simply feed the simulation results into stepinfo. If you check the documentation file, you see that the stepinfo function returns everything that you're looking for!
Hope this helps to get you started!