Introduction - If you have any usage issues, please Google them yourself
PID controller design to achieve by writing M-files, choose to set a different control parameters for different control objects, to complete the control objectives and control system to achieve the desired overshoot, steady state error.