Simulink if statement block

1 view (last 30 days)
Matt
Matt on 28 Apr 2013
Can anyone help me how to implement if statement in Simulink
Thanks

Answers (1)

Chandrasekhar
Chandrasekhar on 28 Apr 2013
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!