Integers in control loops
Show older comments
Hi,
I am trying to use the Simulink's controller tuning feature, but it cannot seem to linearize the loop because of my rounding function (makes the controller effectively see '0'). The reason for my rounding function is because the controller must only output integers.
Is there any way to make the controller only output integers but of data type double?
Regards Mark
Accepted Answer
More Answers (0)
Categories
Find more on Additional Math and Discrete in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!