MATLAB: Does the PID Controller block in the Simulink Extras library not accept vector input signals in Simulink 6.5 (R2006b)

controllerinputpidsignalssimulinkvector

If you input a vector signal to the PID Controller block, it displays a signal dimensions propagation error. This block accepts only scalar inputs. However, I wish to input vector signals that correspond to several scalar signals.

Best Answer

This enhancement has been incorporated in Release 2007b (R2007b). For previous product releases, read below for any possible workarounds:
This enhancement has been made for Simulink 7.0 (R2007b). For previous releases, read the following:
This error occurs because the Integral block under the mask is implemented as a Transfer Fcn block with numerator 'I' and denominator [1 0]. Note that Transfer Fcn blocks accept only scalar signals; hence, the PID Controller block accepts only scalar signals, too.
To work around this limitation, you can break the library link of the PID Controller block and replace the Integral (Transfer Fcn) block with a regular Integrator block.