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

 Réponse acceptée

You can use Min and Max blocks instead of Saturation block

6 commentaires

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 :)
First let me check! ;)
Dear Hardly, you solve my problem. I do not know how to thank you. Thanks a lot.. :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by