I see that in matlab, to find out rise time or settling time of a control system, just need to use step command, and right-mouse on the graph, characteristics/rise time. But I do not know how we do it in Simulink ?
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 ascope 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 intostepinfo. If you check the documentation file, you see that thestepinfo function returns everything that you're looking for!