Most of the time we use Simulink to simulate a PID controller. But this files run it as a Matlab code.
Extract the files to the working directory and just run the file PID_ctrl_call.m.
You can vary the PID tuning parameters in the file pid_ctrl.m and see what will happen.
引用格式
Derick Suranga Widanalage (2026). PID Controller Matlab Code (https://ww2.mathworks.cn/matlabcentral/fileexchange/22150-pid-controller-matlab-code), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 | Updated |
