Using Simulink Control Design to automatically tune the gains of the PID Controller block (red, top). To automatically compute PID controller gains, you open the PID Controller block mask (left) and press the "Tune..." button. The PID Tuner GUI (right) opens up with an automatically tuned design. (Graphic: Business Wire)