Connecting PID Controller with matlab

I want to tune the PID controller. For that how can i connect my simulink model to .m file?
Thank you

3 件のコメント

M
M 2019 年 2 月 13 日
Why do you need to connect your simulink model to a .m file to tune the PID controller ?
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 日

1 投票

use this C(:,:,i) = pid(Kp,Ki,Kd);

カテゴリ

質問済み:

2019 年 2 月 13 日

回答済み:

2020 年 5 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by