So I am using Simulink
and I am trying to incorporate a fuzzy logic
controller to auto-tune the parameters of my PID. But how do I use the output of a MATLAB Function
block as the parameters in a PID block?
Here I show my function which has the outputs of P, I & D (K_p, K_i & K_d in standard notation). I want to use them inside the PID block mask parameters:
I'm sure there is a simple way to do this but I just can't figure it out! Any help?