PID Controller Matlab Code
Version 1.0.0.0 (1.29 KB) by
Derick Suranga Widanalage
This folder contains the files to simulate a PID controller for a first order time delay system
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://www.mathworks.com/matlabcentral/fileexchange/22150-pid-controller-matlab-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Linear Analysis > Time and Frequency Domain Analysis > Time-Domain Analysis >
Find more on Time-Domain Analysis in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
PID Controller Matlab Code/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Updated |
