simulink model using switch block

2 views (last 30 days)
Sanchita
Sanchita on 16 Feb 2023
I want to make a simulink model for these given conditions in above table.
If xyz is true, then check input 2, if true, then it is automatic generated, if false then either it is automatic or human generated. then further check if it is repeated or not. then merge all this into output

Answers (1)

Oguz Kaan Hancioglu
Oguz Kaan Hancioglu on 16 Feb 2023
You can use matlab function in simulink.
You can implement your conditions using if-else statement.
  3 Comments
Oguz Kaan Hancioglu
Oguz Kaan Hancioglu on 16 Feb 2023
You cannot use switch block because switch case statement only checks one input. You have 4 input.

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!