The program uses fminsearch to obtain the transfer function of a tank’s height. This tank is then controlled using a real PID controller. Controller’s tuning (determination of optimum controller’s parameters: gain and time constants) is achieved using the genetic algorithm toolbox. Finally, resul ...