This is due to the fact that the outputs of blocks Ki, Kp, and Kd inside Subsystem 1 is multiplexed, thus creating the one dimensional vector with 3 elements while Transfer Fcn1 expects 1 dimensional vector with only 1 element.
I don't know what you are doing with these functions, so it's hard to give recommendations.
I Have a Coupled Tank System With Two inputs and Two outputs. Two Tanks arw Connected by valve. I am trying Design a Fuzzy Logic Controller to control the inflow of the system based on the levels of fluid in the respected tank.
The blocks are Fuzzy Controllers. Based on error and rate of error i am trying to find out the suitable Proportional Gain, Integral Gain, and Derivative Gain. After finding these gains i am unable to mix these gains as Fuzzy-PID Controller.
I have never dealt with Fuzzy Logic Controllers so I don't understand how it works as a whole, but at the part in question, you have these 3 blocks to find the values of the gains but inside you have the same blocks and functions. I don't know if that's the case, but it doesn't seem to be the right functions to me.
And after that, you have the values of the gains but you feed the value to a mux, then to a transfer function. This is also strange to me.
Anyway, perhaps you should check out Andrey Kiselnikov's answer if the concern is only on how to shape the vector to the appropriate form.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.