Connecting PID Controller with matlab

2 次查看(过去 30 天)
I want to tune the PID controller. For that how can i connect my simulink model to .m file?
Thank you
  3 个评论
Mohit Bhatia
Mohit Bhatia 2019-2-14
I want to tune the PI parameters using neural network. So I want to get values of Kp, Ki after every cycle.
Thank you
Patel Mounika
Patel Mounika 2019-2-20
So does your .m file contain the PI parameters or the neural network?

请先登录,再进行评论。

回答(1 个)

Baraa Samsam
Baraa Samsam 2020-5-28
use this C(:,:,i) = pid(Kp,Ki,Kd);

类别

Help CenterFile Exchange 中查找有关 PID Controller Tuning 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by