PID Controller Matlab Code

This folder contains the files to simulate a PID controller for a first order time delay system
28.4K Downloads
Updated 5 May 2016

View License

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 (2024). 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 Linux

Community Treasure Hunt

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

Start Hunting!

PID Controller Matlab Code/

Version Published Release Notes
1.0.0.0

Updated