How do I get the output to be the larger value of two inputs o Simulink

So I have two temperatures Th = 300 and Tc=270 I am using simulink. What block can I use to get the to compare Th and Tc to ensure that the larger value of Th and Tc (ie 300) is used?

답변 (1개)

Kiran
Kiran 2016년 2월 8일

0 개 추천

Hi Akash,
You can use the switch block for this purpose. Set the switch criteria according to relation between signals.
Check the attachment for simplified example.

카테고리

도움말 센터 및 File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

질문:

2016년 2월 1일

답변:

2016년 2월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by