PID-controller in discrete-time domain, internal vs extrerna input
Show older comments
Hi
I have tried to update matlab version from 2013b to 2019b (2017b aswell, but that has been working). However I have some problems with the PID controllers.
In my model I have multiple PID controllers that just had the variables defined and initial conditions as external.
Like so:

When I run this in 2019 the interface has changed and looks like this:

When I run this, it fails
This blocks fails (inside the PID regulator):

Sometimes (haven't figured out when our how) this changes from Excteral IC to Internal IC, and that block requieres a boolean as input (for initial condition?!)
If I change the source to external and feed P,I,D,N to the model it works.. Have I missed something with how this is supposed to work?
//Micke
Answers (0)
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!