Is it possible to specify a dynamic value for the Integrator block's "Upper Saturation Limit" parameter using an external input?

31 views (last 30 days)
The Integrator block has an "Upper Saturation Limit" parameter that denotes the upper limit for the integral. I would like to specify a dynamic value for this parameter using an external input to the Integrator block, such that its value is computed by other blocks in my model.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Sep 2022
Edited: MathWorks Support Team on 20 Sep 2022
The ability to use an external input to specify a dynamic value for the built-in Integrator block's "Upper Saturation Limit" parameter is not available in Simulink.
To work around this issue, you can use core Simulink blocks to build your own integrator block that allows you to specify dynamic values for its parameters. See the attached Simulink model, named continuous_integrator.mdl, for an example that demonstrates a custom integrator block with external inputs for its "Upper Saturation Limit" and "Lower Saturation Limit" parameters.

More Answers (1)

Daniel Peters
Daniel Peters on 10 May 2021
@MathWorks Support Team can you please upload continuous_integrator_reset.mdl? Thank you.

Categories

Find more on Simulink Coder 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!