Reputation: 25
How to build the simulink blocks equivalent to below statement.
if((In1 == In2) || (In3 != In4))
{
SubSystem1(In5);
}
Thanks in Advance.
Upvotes: 0
Views: 711
Reputation: 4685
I think what you're looking for is in the comment and here is a pictorial view:
However, if you're going to be doing a lot of logic based code you'll want to look at Stateflow, if you have that product available.
Upvotes: 1