How to get transfer function from simulink model. A simplified model of the DC motor is shown above.