MATLAB: Is it possible to specify a dynamic value for the Integrator block’s “Upper Saturation Limit” parameter using an external input

bounddynamicdynamicallyintegratorrangesaturationsimulinkupper

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.

Best Answer

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.
continuous_integrator_reset.mdl expands upon the first model by resetting the state of the integrator block if the state is beyond the saturation limits due to a dynamic change.