step response data extraction from response data of a model(simulink)?
To export signals from simulink to the matlab workspace, use the "To Workspace" block. One of the more relevant options of the block is the specification of format of the exported variable. When using the Timeseries format to export a variable named simout, data can be plotted using:

plot(simout)


To retrieve data and time arrays from Timeseries into separate variables, use:

data = simout.Data
time = simout.Time