Simulink® Control Design™ provides several approaches to tuning Simulink blocks, such as Transfer function and PID Controller blocks. You can use these techniques and tools to:
Automatically tune feedback loops containing PID Controller or PID Controller (2DOF) blocks.
Graphically or automatically tune SISO feedback loops containing any tunable Simulink blocks.
Tune Simulink models of control systems having any structure to meet high-level design goals such as reference tracking, disturbance rejection, and stability margins.
For more information about choosing among these approaches, see Choose a Control Design Approach.