File Exchange

image thumbnail


version (32.1 KB) by Bartlomiej Ufnalski
Iterative learning control (ILC) using a programmable logic controller (PLC).


Updated 28 Apr 2017

View License

Yet another demonstration for my students: ILC on PLC. An exemplary CoDeSys project included. It's a hardware-in-the-loop (HIL) simulation. The target is EATON EC4P-200 easy Control PLC. It is also possible to run the program in a simulation mode provided in XSOFT-CODESYS. Please visit to get it for free (the demo version). An equivalent Simulink model as well as a pure m-code model are also included. More examples at .

Comments and Ratings (0)


counter: WORD := 1; (* A big thanks goes to my colleague Remigiusz Olesinski for pointing this out. *)

More examples at .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

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

» Watch video