The simunlk model has transfer function of Buck converter which is controlled with PID controller in closedd loop and this PID is tuned with auto tuning process in simulink.This system is working fine in closed loop. Now i want to use Particle swarm optimization(PSO) for PID block in simulink model.How to implement it in simulink .can someone share the online resource links .Thanks in advance.