You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Derick Suranga Widanalage (2026). PID Controller Matlab Code (https://ch.mathworks.com/matlabcentral/fileexchange/22150-pid-controller-matlab-code), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.29 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Updated |
