
% This is function funisepi.m
% Minimizes ISE


function funisepi = f(x)
global Tid y ys Kc taui taud funisepi

Kc=x(1)
taui=x(2)

    
  sim('tunepid');
  funisepi = ise(Tid,y-ys)


