Connecting PID Controller with matlab
Show older comments
I want to tune the PID controller. For that how can i connect my simulink model to .m file?
Thank you
3 Comments
M
on 13 Feb 2019
Why do you need to connect your simulink model to a .m file to tune the PID controller ?
Mohit Bhatia
on 14 Feb 2019
Patel Mounika
on 20 Feb 2019
So does your .m file contain the PI parameters or the neural network?
Answers (1)
Baraa Samsam
on 28 May 2020
1 vote
use this C(:,:,i) = pid(Kp,Ki,Kd);
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!