Simulink if statement block

Can anyone help me how to implement if statement in Simulink
Thanks

回答(1 个)

Chandrasekhar
Chandrasekhar 2013-4-28

1 个投票

use the if block in ports & subsystems of simulink library browser. Number of inputs can be changed in the if block properties.
the output of if block should be connected to an 'if action subsystem'. this will be executed when the if condition is true.

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

标签

提问:

2013-4-28

Community Treasure Hunt

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

Start Hunting!

Translated by