How to tune PID controller using Genetic Algorithm in optimization toolbox

I have a simulink model for a system and I would like to tune the PID controller from the optimization toolbox using Genetic Algorithm. How can I tune the gains Kp, Ki and Kd ?
I really need your help, thanks in advance!

Answers (0)

Asked:

on 23 Feb 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!