Introduction - If you have any usage issues, please Google them yourself
Based on unconstrained simplex method of PID parameter tuning. Myfun.m enter in the objective function and control the transfer function of the object, run the main function can be obtained step response curve