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