View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
PID Controller Matlab Code

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.7 | 7 ratings Rate this file 87 Downloads (last 30 days) File Size: 1.29 KB File ID: #22150 Version: 1.0

PID Controller Matlab Code



18 Nov 2008 (Updated )

This folder contains the files to simulate a PID controller for a first order time delay system

| Watch this File

File Information

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.

MATLAB release MATLAB 7.0.1 (R14SP1)
MATLAB Search Path
/PID Controller Matlab Code
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
13 Jun 2016 Thien Tran


18 Apr 2016 Van

Van (view profile)

i want a pid controller

Comment only
06 Mar 2015 sivaranjani moorthi

i need reference for velocity algorithm m file

06 Nov 2013 Tong

Tong (view profile)

14 May 2013 Aidan

Aidan (view profile)

26 Mar 2012 Moussab Bennehar  
15 Nov 2011 Bhaswati Medhi

i want pid programming for reactive distillation column

26 Apr 2011 Arkadiy Turevskiy

For people looking for a comprehensive collection of resources on PID tuning, design, and implementation, take a look at this page:

Comment only
24 Apr 2011 Sharmeen Sahibole  
21 Dec 2009 Arkadiy Turevskiy

Thanks for an interesting submission. If you are interested in designing and tuning PID controllers in MATLAB and Simulink, please take a look at new PID tuning capabilities shipped in Simulink Control Design in R2009b:

There is also a webinar on the subject:

and MATLAB Digest article:

Comment only
05 May 2016 1.0


Contact us