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

 採用された回答

Ilham Hardy
Ilham Hardy 2014 年 2 月 20 日

0 投票

You can use Min and Max blocks instead of Saturation block

6 件のコメント

Hosein
Hosein 2014 年 2 月 20 日
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!
Ilham Hardy
Ilham Hardy 2014 年 2 月 20 日
Hosein
Hosein 2014 年 2 月 20 日
Thanks a lot dear Hardy.. one question: X can be variable (as the output of other block) in your second proposed model?
Ilham Hardy
Ilham Hardy 2014 年 2 月 20 日
Of course, that is what i actually trying to show :)
Hosein
Hosein 2014 年 2 月 20 日
First let me check! ;)
Hosein
Hosein 2014 年 2 月 20 日
Dear Hardly, you solve my problem. I do not know how to thank you. Thanks a lot.. :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2014 年 2 月 20 日

コメント済み:

2014 年 2 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by