simulink model using switch block

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

回答 (1 件)

Oguz Kaan Hancioglu
Oguz Kaan Hancioglu 2023 年 2 月 16 日

0 投票

You can use matlab function in simulink.
You can implement your conditions using if-else statement.

3 件のコメント

Sanchita
Sanchita 2023 年 2 月 16 日
told to use switch block only
Sanchita
Sanchita 2023 年 2 月 16 日
not able to do that
Oguz Kaan Hancioglu
Oguz Kaan Hancioglu 2023 年 2 月 16 日
You cannot use switch block because switch case statement only checks one input. You have 4 input.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

質問済み:

2023 年 2 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by