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

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

 Accepted Answer

You can use Min and Max blocks instead of Saturation block

6 Comments

Thanks Hardy..But Min and Max blocks do not work as Saturation block..
When I put 20*X (which X is output of other block) as upper limit of Saturation block, Error says X is not defined!
Thanks a lot dear Hardy.. one question: X can be variable (as the output of other block) in your second proposed model?
Of course, that is what i actually trying to show :)
Dear Hardly, you solve my problem. I do not know how to thank you. Thanks a lot.. :)

Sign in to comment.

More Answers (0)

Asked:

on 20 Feb 2014

Commented:

on 20 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!