Setting the controller parameters Source to external enables the input ports for the
coefficients.
The model uses a 1-D Lookup Table block for each of the PID coefficients. In general, for
gain-scheduled PID control, use your scheduling variable as the lookup-table input, and
the corresponding controller coefficient values as the output. In this example, the CSTR
plant output concentration is the lookup table input, and the output is the PID coefficient
corresponding to that concentration. To see how the lookup tables are configured, double-
click the P Lookup Table block.
Implement Gain-Scheduled PID Controllers