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 comentarios

M
M el 13 de Feb. de 2019
Why do you need to connect your simulink model to a .m file to tune the PID controller ?
Mohit Bhatia
Mohit Bhatia el 14 de Feb. de 2019
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 el 20 de Feb. de 2019
So does your .m file contain the PI parameters or the neural network?

Iniciar sesión para comentar.

Respuestas (1)

Baraa Samsam
Baraa Samsam el 28 de Mayo de 2020

1 voto

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

Preguntada:

el 13 de Feb. de 2019

Respondida:

el 28 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by