MATLAB: How to define and use a variable as upper limit of the Saturation block in Simulink

saturation block

How can I define a variable in Simulink model such that I can use it as a upper or lower limit of saturation block?
i.e. the upper limit of Saturation block must be set to 20*X in which X is output of other block in my simulink model.
Thanks

Best Answer

You can use Min and Max blocks instead of Saturation block